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 Card (HTML & CSS & JS)

P
Patrickβ€’ 14,325

@palgramming

Desktop design screenshot for the FAQ accordion card coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Fun project I need to work on my JS some more to remove duplication but the functionality is there

Community feedback

P
ApplePieGiraffeβ€’ 30,545

@ApplePieGiraffe

Posted

Hello there, Patrick! πŸ‘‹

Well done on this challenge! πŸ‘ The accordion card looks good and works pretty well! πŸ™Œ

The only thing you might want to consider doing as a next step, now, is to make the accordion card keyboard-accessible (so that it can be navigated and used via the keyboard).

Also, if you didn't knowβ€”the native <details> and <summary> elements can be used to quickly and easily create an accordion using just HTML! Learn more about them here. πŸ˜€

Keep coding (and happy coding, too)! 😁

7

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