react intro section with dropdown navigation

Please log in to post a comment
Log in with GitHubCommunity feedback
- @khatri2002
Hi! The developed solution looks really good! Great work!
Just one little suggestion from my end:
When clicking on theFeatures
navigation item, the list of features (.childNavs
div) appears below it. However, the positioning of this list box is not perfectly aligned as per the design reference. If you observe the design closely:- The features list box should end exactly where the
Features
text ends. - The company list box should start exactly where the
Company
text starts.
While the 2nd one looks correctly positioned, the 1st one doesn’t align with the requirements.
You've currently assigned
position: fixed;
to thechildNavs
. Instead, assignposition: absolute;
and addright: 0;
for theFeatures
list box. Since you've already assignedposition: relative;
to the.navItem
, this change will ensure that the positioning adjusts with respect to.navItem
as expected.Great work so far! happy coding! 🚀
Marked as helpful - The features list box should end exactly where the
Join 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