Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 1 year ago

Faq-accordion using HTML, CSS and JavaScript

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

Solution retrospective


What are you most proud of, and what would you do differently next time?

I am most proud that I could make a Java Script Code in order to be able to interact with the elements. It was the first time. It was not easy. What I would do differently in my next project is to set the layout correct, then the Java Script and finally do the styles. I find it easier not to get hang up in CSS while trying to make the both layout for mobile and desktop and the JS

What challenges did you encounter, and how did you overcome them?

It was difficult to understand how to make page keyboar navigation. Still not sure wether what I did was correct. While trying to solve this I read several post in the help channel and google for different options.

What specific areas of your project would you like help with?

I would like to know wether I make a good use of the aria-expanded and control or not. And if it is indeed this what the challenge ask for. I am also in doubt with the background change from desktop to mobile. It was difficult to check if the transition from one to another is ok. And how indeed I can see the project in a mobile.

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 ldonnianni'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 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License