Lesson 8/10 make a website



I am stuck, I did all the changes but the lesson dont recognize and dont let me move forward, any ideas?
i am using Safari at my home computer

Replace this line with your code. Do not remove the backticks.



You changed the color for h2 you need to hang the color for .hero


Thanks but almost there... I restarted the lesson and changed the .hero as it was my mistake, but it wont let me go on anyway...


Paste in your updated code


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

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

h2 {
font-size: 56px; color:#ffffff

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

p {
font-size: 2rem;color:#ffffff

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


You need to add color: #ffffff; to .hero


it worked but I could not see any diference... sorry what changed?


You didn't see any change as you had already changed the paragraph and h2 header to white using the p and h2 selector,

the lesson wanted you to change by changing the color via the class hero thus it didn't work the first time


Ok I think I get it! Thanks again


You're welcome :green_heart:

Happy Learning :slightly_smiling:
Happy coding !

What inspired you to learn programming/coding?
Join the discussion