Far Accordion using HTML, CLSS and JavaScript
Design comparison
Solution retrospective
I've just started to learn JavaScript and coding this page was quite challenging. Unlike CSS and HTML, JavaScript is a programming language. There are multiple ways of achieving the same result, some easier and more demanding, and some that require more knowledge and attention, but are more practical. I've learned so much in the process and acquire an idea of what is JavaScript, how it operates and what is capable of.
Tough I couldn't do all I would like, like smooth the transition when hiding the display of the paragraph's parent divs, I'm starting a bit of JS' logic. It's a real puzzle, but it's rewarding!
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