Design comparison
SolutionDesign
Solution retrospective
- The sidebar dropdown was difficult for me.
- I am not sure of the JavaScript code and some CSS stylings.
- I need help, to learn best practices in JavaScript. Please indicate any fault. I will love to see some feedback :)
Community feedback
- @Foued80Posted over 2 years ago
hi, CorizCoder
Goodjob, i had the same trouble with the sidebar dropdown menu specialy the padding and margins to hide the submenu;
check my css only solution for this challenge no single line of javascript was needed, i used input:checkbox with css ~ sibling
your sidebar is missing a backdrop to the left, and for the best practice i suggest checking bootstrap's code for navbars and dropdown menu for inspiration
cheers.
Marked as helpful1@CharlesCypherPosted over 2 years ago@Foued80 Thanks a lot. I'll make the changes to the sidebar (backdrop)
0
Please log in to post a comment
Log in with GitHubJoin 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