Skip to content
Submitted almost 2 years ago

Accordion with Checkboxes, JS for Keyboard Navigation

LVL 2
ha308ing240
@ha308ing
A solution to the FAQ accordion challenge

Solution retrospective


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

Nothing special to be proud of in it =\

Next time I'd try HTML5 and tags (mdn)

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

I thought to use only html and css for expaning accordion content, but so it happened that keyboard events on a label don't pass to the checkbox, and I had to add js event handlers to the labels =(

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

Is there any way to apply shadow on an element, so that shadow was only on part of the element, like upper half has no shadow, but lower part with shadow? (and that shadow doesn't spread to the upper half)

Code
Loading...

Please log in to post a comment

Log in

Community feedback

No feedback yet. Be the first to give feedback on ha308ing’s solution.

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