Problem with 8.A Background Image


#1

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

I'm having problems on the 8th slide on 8.A Background Image with putting the url and stuff. I put it in different places and it sill didnt work at all. Please help. BELOW WILL BE MY Main.css


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

h1 {font-family: Panlatino, 'Palatino Linotype', seriif;
  color:rgb(121,149,117);
	font-size: 32px;
}

h2 {
	font-size: 56px;
}


.hero { 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

@dancestylz
-1

Have a close look at

seriif

-2
Please read the =Book=
https://developer.mozilla.org/en-US/docs/Web/CSS/background-image
https://developer.mozilla.org/en-US/docs/Web/CSS/background-color
and then
as instructed add the background-image property
to the

.hero {
....
background-image: ......;
background-color: yellow;
}

#3

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