
Design comparison
Solution retrospective
I'd prefer not to constantly manipulate the DOM by deleting and rewriting HTML code. Instead, I'd rather assign classes to the HTML elements so I can toggle them on and off, preventing any errors I encounter.
What challenges did you encounter, and how did you overcome them?Deleting event listeners inadvertently in the DOM manipulation process.
What specific areas of your project would you like help with?ANY feedback will be greatly appreciated.
Community feedback
- P@Lo-DeckPosted 3 months ago
Hi well done for this challenge,
For the tag
<h1>
it's one per page, all h1 elements are treated as top-level headings by many screen readers and other tools. MDN.Use a
div
when there is no other choices, you can usesection
,article
...Hope to be helpful.
Marked as helpful1
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