I am stuck on question 8, lesson 2


#1

hi its me again! i am stuck on question 8 [make a website] lesson 2

i mean...exersise 8 and question 3... anyway this is what i have done:
body {
height: 100%;
margin: 0;
text-align: center;
width: 100%;

}

.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;
}

p {
color: #ffffff
font-size: 56px;
}

.hero p {
color: #ffffff
font-size: 2rem;
padding: 250px;
margin: 30px;
}

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

can you help me! pls :cry:


#2

You are missing a few semi colons in your CSS


#3

I believe you're also missing a bracket after .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;
}

hope this helps!


#4

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