Design comparison
SolutionDesign
Solution retrospective
I would like feedback on how I handled the DOM manipulation. With adding styling to the new elements after submitting, it seemed to get a little messy and would be hard to troubleshoot in the future. How could I handle this better?
A couple possible solutions I had were:
- create classes for the "thank you" card elements and assign them.
- have the submit button load a second HTML file (This seems to be the better option, as it would be easier to edit in the future, but could get cumbersome as multiple HTML files would be needed.)
Thank you for taking a look!
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord