html {
height: 100%;
width: 100%;
header :{background-color: ;rgb:;(201, 76, 76);}
}
this is my code
its asking for a property value, identifier, and a selector
what are those?
html {
height: 100%;
width: 100%;
header :{background-color: ;rgb:;(201, 76, 76);}
}
this is my code
its asking for a property value, identifier, and a selector
what are those?
Properly indenting your code (CSS isn’t actually code by the way) is really important. Here’s what your CSS looks like with some formatting:
html {
height: 100%;
width: 100%;
header: {
background-color: ;
rgb: ;
(201, 76, 76);
}
}
It should now be very obvious that your formatting is messed up. Here’s what I think your CSS should look like:
html {
height: 100%;
width: 100%;
}
header {
background-color: rgb(201, 76, 76);
}
You can’t add properties to an element inside of a declaration itself.
You’ll have to define the element with curly braces and then add declarations to it.
header {
background-color: rgb(201, 76, 76);
}
There are also a lot of random semicolons and colons that I removed so the code would be functional. Hope this helps!