Help with Learn HTML and CSS: Part 1, 4.CSS Declrations


So I am doing this lesson:

Here is my code:

h1 {
color: FireBrick;

p {
font-size: 18px;

It says that I am wrong...

Help pleaseee


I don't see anything wrong with it immediately... Make sure you are doing each step individually and not all at one time. Also, what error are you getting in particular?


No such thing in CSS. White space is ignored. Indentation is only for readability.


Ah yes my bad! Thank you for pointing that out! Sorry, my brain must still be on python haha I will edit that out for no further confusion


I got it working now


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.