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
Request path contains unescaped characters

Submitted

FAQ accordion challenge using only HTML and CSS

@rngueco

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


This was made using only HTML and CSS. The downside of this approach is that I wasn't able to implement the <detail> transition from expanded to collapsed, as there's probably no pure-CSS solution to that problem. Feedback on any part of my code is appreciated!

Community feedback

P
Grace 27,350

@grace-snow

Posted

Hey, great job on this! It looks spot on and works perfectly for me.

I find the text a little small to read. That may be due to the design. But in work if I was given a design with text this small I would definitely be speaking with the designer to agree a larger font size. Usually they are happy to adjust ☺

Well done again 👏

Marked as helpful

0

@rngueco

Posted

@grace-snow Thank you Grace! 😊

0

@abhineetkandele

Posted

Superb Job!!

Using all the latest HTML tags & building a accordion using only HTML & CSS. 🙌🙌

1

@rngueco

Posted

@abhineetkandele Thank you Abhineet! ☺

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