Nav bar doesn't cover the whole page, exercise: FUNDAMENTALS OF CSS Broadway

Hello, here is the CSS code I have for the exercise. If I’m not wrong, I have the same code as the walkthrough video. Even the margin is 0, the navigation bar is aligned to the left and doesn’t cover the whole page width. I couldn’t understand how to do it or why it’s not working, so I would appreciate the help.

https://www.codecademy.com/workspaces/62a1227d5eb9d3a7f30019d8

Try
width: 100%;
for header
in the CSS code.

1 Like