Css is acting weirdly and I don't understand why

the link above is a codepen and the top bar ‘navbar’ seems to work okay.
But I reinstalled wamp64 and now all of a sudden on my local server the top bar only starts halfway the screen and nothing I do changes it. It is the total same code on both files.
What could be going on.

i cant say whether you have tried to troubleshoot this by creating a new project or something like that or not…

if not or if you are interested then start a new project (clean slate, “i.e. a hello world project”) and see if thats taking up entire “window width” space or not, and then build up on it.

happy coding :slight_smile:

I’ve been searching what is the problem for quite a bit but I’m going until I find the reason. I just can’t get my head around the fact that #navbar keeps showing 600px width while the whole screen is over 900px width and I set the css to 100vw. I’ll find it in the end. It’s just weird that it works in codepen but not on my local server.

just found what my problem was. Stupid browser cache, or stupid me, I don’t know. lol.