7/10 font-size - what's wrong with my code?


#1


https://www.codecademy.com/en/courses/make-a-website/lessons/closer-look-css/exercises/font-size?action=resume


It seems like, I've made a mistake changing the font-size value of h2 to 56px, but I can't figure out what I did wrong.


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

h1 { 
  font-family: Palatino, 'Palatino LInotype', serif;
  color: rgb(121,149,117);
	font-size: 48px;
}

h2
.hero{
  font-family:'Trebuchet MS',
Helvetica, sans-serif;
  font-size: 56px;
  
 
}


.hero {
	padding: 250px 0;
	margin: 30px;
}


p {
  

}

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


#2

You have h2 .hero  


#3

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