Skip to content
Sign upLog in

Why can I not change the background color in this HTML/CSS file?

Profile icon
JLNascimento

Hi guys!

Complete beginner here.
I am doing an exercise on learning the tools of HTML and CSS - in this case, how to change the color of the background from white to gray.
As a starting point I watched some YT tutorials and tried to replicate them, just changing colors.
However, despite basically copying the code I saw online, when I run my code it simply didn't work (background is still white).
Also, when I tried to add some other features (like stylizing an unordered list), it didn't work either.

Not sure if I didn't link the CSS file to the HTML properly or if it's something wrong with the code...

Could someone tell me what I did wrong?

Thx a lot!

You are viewing a single comment. View All
Profile icon
JLNascimento

Thank you very much

@StudentFires
!