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

css html using checkbox

#cube-css#materialize-css#sass/scss#tailwind-css
aman kumar 710

@amankumar1222

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


Please give me your valuable feedback , thanks

Community feedback

bunee 2,060

@buneeIsSlo

Posted

Hey! @amankumar1222, Good job on this one! Your solution responds very well.

I noticed that you've used checkboxes to show and hide the answers, and this definitely works as intended, however, a more appropriate way to achieve this would be to use the <details> tag. Learn about it here.

You're also missing the box shadow, you could use the code below if you'd like:

box-shadow: 0px 50px 40px 0px rgba(0, 0, 0, 0.2);

Hope this helps :)

Marked as helpful

1

aman kumar 710

@amankumar1222

Posted

@buneeIsSlo thanks , i really grateful for you , again thanks for your feedback , i will implement and update my code

1

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