Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 2 years ago

Far Accordion using HTML, CLSS and JavaScript

IgorGGuimaraes•120
@IgorGGuimaraes
A solution to the FAQ accordion challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

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!

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on IgorGGuimaraes's solution.

Join 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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2026
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License