Design comparison
SolutionDesign
Solution retrospective
Feedback is welcome.
I used React to get more familiar with project structure and using components. The main reusable component was the NavItem in which I passed the nav-item name, img, and sublist if it had one.
Things I struggled with:
- Navbar sublist hover.
- Project structure was getting messy
- NavItem props. I was wondering if doing a prop defined check is the right thing to do if I am passing props that are optional?
Community feedback
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