Product Landing Page - Build a Product Landing Page

Tell us what’s happening:

hello getting error message(your #nav-bar should always be at the top of the viewport) check code here

#nav-bar {
display: flex;
justify-content: flex-end;
/* Align to the right /
align-items: center; background-color: var(–secondrey-color1); padding: 0;
flex-wrap: wrap;
position: fixed;
/
Ensure it stays fixed at the top /
top: 0; /
Stick to the top /
width: 100%;
z-index: 1000;
/
Ensure it’s on top of other elements */
}

Your code so far

<!-- file: index.html -->

/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36

Challenge Information:

Product Landing Page - Build a Product Landing Page

Hi there!

Copy and paste your whole css file in above region after the comment.

thank you i found the solution

1 Like