Css changes won't show on live server

Hi all,

I started the beginners html/css course. I have no prior knowledge whatsoever. I think it’s the reason I can’t figure out why suddenly the css code does not show on the live server. For a lesson, he created a box. It does not show on my website, but it’s the exact same lines of code! The weird thing is that html changes do show on the website such as hi, title and so on.

Did this happen to anyone else? I did not change anything to my windows or VSCode.

Edit: Solved! I followed the lessons, but he only shows the lower part of his html code since he usually starts in the body. In a previous lesson, you have to link your css code to the correct folder and file. Make sure you reproduce that line of code whenever you start over!

Hey have you linked your css to your html doc?
Maybe that will help

1 Like

Yup! That was the issue actually. I already edited my post that I solved it. Thanks for helping out!

Yep, I have made this mistake like 40 times lol, rthe first things i alwyas do is link my style.css sheet to my HTML.

A little tip here: You can use a VSCode plugin called Supermaven to make this a little more streamlined. It will give you code suggestions and suggest the correct paths to files as well. You’d have to sign up for Free tier but that is enough for getting startet.