Error even though the code seems correct


#1


https://www.codecademy.com/courses/make-a-website/lessons/closer-look-css/exercises/id-selectors


Did you give the #footer selector a font-size property of 0.75rem in main.css?


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

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

h2 {
    font-size: 56px;
  
}


.hero {
    padding: 250px 0;
    margin: 30px;
  background-image: url("https://s3.amazonaws.com/codecademy-content/projects/make-a-website/lesson-2/bg.jpg");
  background-size: cover;

 color:#ffffff;
  font-family: 'Trebuchet MS', Helvetica, sans-serif;
}



p {
font-size:2rem;
}
#footer {
  font-size :0.75rem;
}

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


#2

Please, reload browser and ensure zoom is at default. (100%).


#3

ive tried a lot its not working


#4

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