Design comparison
Solution retrospective
Wasn't too sure how to do a side bar drop down for the mobile view instead it drops down from the top.
Community feedback
- @PPechmannPosted about 2 years ago
Hey @lgorvin,
congrats to completing this challenge! I did it myself and know how difficult this one can get.
Regarding the dropdown on the side: You can create a div with the entire navigation in it, give it a height of the entire page (I recommend specifying a height and not using 100vh, as the div will end sooner than the end of the page, if you scroll down).
You then give it a class and toggle it with javascript.
I still like your approach a lot and am even thinking that the navigation looks very good from the top too!
Feel free to check my solution to get a better idea of what I am trying to convey.
Hope this helps!
Happy coding and happy weekend to you :)
Patrick
Marked as helpful1
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