Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

FAQ accordion

@kaoutar-ouadih

Desktop design screenshot for the FAQ accordion coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

I'm proud of completing this challenge!

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

.

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

Anything that can help me improve.

Community feedback

P
vcollins1 410

@vcollins1

Posted

Good solution!! To improve accessibility you could consider adding aria-expanded attributes to your buttons.

<button aria-expanded="false">
    ....
</button>

You can use javascript to toggle aria-expanded= false/true when the button is click.

0

Please log in to post a comment

Log in with GitHub
Discord logo

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