Product Landing Page - Build a Product Landing Page

Challenge Information:

Product Landing Page - Build a Product Landing Page

I’m really struggling with the last three tasks:

  • Failed: Your #nav-bar should always be at the top of the viewport.

  • Failed: Your Product Landing Page should use at least one media query.

  • Failed: Your Product Landing Page should use CSS Flexbox at least once.

I did also add #nav-bar { position: fixed; top: 0;}, and move the #nav-bar above the header but neither worked.

Here’s my code:

i know i’m not a great coder haha but any advice would be greatly appreciated so i can carry on learning rather than bashing my head against a wall! thanks :)!

Hi @nad-ine, and welcome back to the forums!

You just might kick yourself for this one, but the reason those last tests aren’t passing is because it can’t load the stylesheet. And the reason it can’t load the stylesheet is there’s a missing “s” on your tag here:

<link rel="stylesheet" href="style.css">

Check the name of the CSS file up top and you should see what I mean.

image

2 Likes

Lolllll thank u so much :person_facepalming: ur a god send

2 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.