Sunnyside agency - Responsive layout with flexbox and media queries
Design comparison
Solution retrospective
My biggest project yet. I got the html and css under control but im stilll new to js. Im in needs of tips on how to fix mobile nav showing up when its not supposed to.
Community feedback
- @renrasPosted almost 3 years ago
Add media query to mobileNav also and set display to none.
mobileNav.style.display = "none"; mobileMenu.style.opacity = 1;
In your script.js, you have these lines of codes outside your function. I believe you can remove these and set the default styling in your css instead.
0 - Account deleted
Hi, Good job @ILikeCode1 π
I think you did a great job even though you are new to javascript β. If you want to learn how responsive navigation works https://www.youtube.com/watch?v=tEC4kqzNTnM. I really was like which responsive nav was a hard thing years before. However, js not hard much. I suggest taking these courses from Udemy, they helped me a lot ππ
Good luck π
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