Stuck on 7/10 font size


#1


Make a Website 7/10 #2

Question - 48px may still be too small for a heading. Change the font-size value of the h2 selector to 56px.

Click Run and notice the font size increase in the web browser.

This is the error message I keep receiving but I changed the font size to 56px "Did you change value of the h2 font-size to 56px?"

Can anyone tell me where my coding is wrong?


body {
	height: 100%;
	margin: 0;
	text-align: center;
	width: 100%;
}

h1 { font-family: Palatino, 'Palatino Linotype', serif; 
color: rgb(49,105,163);}
font-size: 56px; 

}


h2{
	font-size: 56px;
}


.hero {
  font-family: 'Trebuchet MS', Helvetica, sans-serif;}
	padding: 250px 0;
	margin: 30px;
}


p {

}

.hero a {
	color: #00FFAA;
	font-size: 24px;
	text-decoration: none;
}


#2

You seem to have an extra closing curly bracket in your h1 selector:

h1 { font-family: Palatino, 'Palatino Linotype', serif; 
color: rgb(49,105,163);} /* <== Here */
font-size: 56px; 

}

#3

Wow I didn't even see that, Thank you so much!


#4

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