Technical Document Page FCC

Technical Document Page FCC
0

#1

Hello all!

I am having trouble passing one test on this Tech Document.

“On regular sized devices (laptops, desktops), the element with id=“navbar” should be shown on the left half of the screen. It should always be visible to the user and should remain stationary. You may need to enlarge the viewport or zoom out to ensure the navbar doesn’t scroll with the page content.”

This is the error I keep receiving even though I am pretty sure my navbar is fixed to its position.

If anyone knows of a solution, please let me know!


#2

No, it’s not fixed.

Add the following code and you’ll see the beautiful green 16/16 showing up on your screen

#navbar {
  position: fixed;
}

#3

Thank you! I can’t believe I didn’t see that!


#4

It’s okay. It may happen to anybody.

Good Luck & Happy Coding.