8/10 Part 2 HELP (Making a website topic)


#1


Hey everyone! I need some help with the below exercise. Thank you so much.

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


Well first of all, when I click run the little green check mark doesn't appear so I obviously am not doing something right. Also on the actual webpage what is supposed to be happening isn't. I am also getting the error message: Expected RBRACE at line 21 col 18. I have no clue what that means. Below is the code. It is under the main.css. Thanks again!


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

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

h2 {
	font-size: 56px;
}


.hero { 
 	background-image: 
		url("https://s3.amazonaws.com/codecademy-content/projects/make-a-website/lesson-2/bg.jpg")
  background-size: cover;
  font-family:'Trebuchet MS', Helvetica, sans-serif;
  padding: 250px 0;
	margin: 30px;
}


p { font-size: 2rem;

}

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


#2

Missing semi colon at the end


#3

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