Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
Wrote the javascript code to toggle content in a web page.
What challenges did you encounter, and how did you overcome them?Had issues with toggling the content when a line is clicked. Trail and error method helped to overcome the issue.
Community feedback
- @KorneyChervonenkoPosted 8 months ago
Hello friend. This challenge can be solved without JS. Look at HTML DETAILS if you interested. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
Marked as helpful0
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