Klaus Mana Klaus Mana - 9 months ago 48
CSS Question

CSS background-color won't work?

So, I am REALLY noob in CSS, as in I have only used it only 1 or 2 times. When i try to changethe body's bg color, it doesn't change at all.

Here is my HTML code:

<link rel = "stylesheet" src = "CSS/main.css">

And here is the CSS:

body {
background-color : aliceblue;

I know this is pretty simple, but I am really a beginner in the whole front end thing.


You mis-used src.


<link rel="stylesheet" type="text/css" href="css/main.css">