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

Html, css and some js (I can't figure out how to do it without js)

Jorgeβ€’ 95

@jmora2ec

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


let me know if someone has the solution without js.

Community feedback

Faris Pβ€’ 2,810

@FarisPalayi

Posted

You can use the <details> and <summary> HTML tags for thatπŸ‘ but, it's a bit hard if you want to add transitions. Also, you can use checkboxes or radio buttons for this (but, I'm not sure if it's the best when it comes to accessibility).

1
Akerele Tundeβ€’ 165

@trafiki

Posted

I think doing it without js involves using scss. But this challenge listed js in the technologies to be used so i think it's okay to do it with js.

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