Design comparison
SolutionDesign
Solution retrospective
Hello!
I would highly appreciate any feedback especially with the semantics and the javascript code. Thank you. :)
Community feedback
- @EileenpkPosted almost 2 years ago
Hi Leonard, your project looks really good, and works great! I think your JavaScript is good and your project might be a good use case for a clean up function for document.getElementById.
const get = element => document.getElementById(element); const nav = get('nav-bar'); const header = get('header'); const burgericon = get('burger-icon');
What do you think?
Hope you found this helpful!
- Let's connect on LinkedIn! - @Eileenpk
Marked as helpful0
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