CSS font-size code wont work


#1


https://www.codecademy.com/en/courses/learn-html-css/lessons/css-structure-syntax/exercises/css-declarations


error message: did you change the font size of the paragraph to 18px? The system wont give me the option to get the code, I can only try again but I am going nowhere.


h1{
  color:firebrick; 
  font-size:18px;}

.


#2

type it into index.html




h1{
color:firebrick;
font-size:18px;}



#3

Doesn't make sense as I put the color in the style.css index and the system
was ok with that. The thing try teach use the link between css and html
index.
Any other suggestions? could it be a bug?


#4

I tried in the index. Doesnt work neither


#5

Hello,

You used h1 which targets the h1 heading tag, from the error message above I gather that its asking you to change the font size of the paragraph so you need to use p which will target the paragraph ..

Cheers!


#6

Hello,
You are right, i should have pay more attention. Thank you very much

zainabrawat Codecademy Moderator
October 3

Hello,

You used h1 which targets the h1 heading tag, from the error message
above I gather that its asking you to change the font size of the paragraph
so you need to use p which will target the paragraph ..


#7