Error with Line Height


#1


https://www.codecademy.com/courses/learn-html-css/lessons/css-fonts/exercises/line-height?action=lesson_resume&link_content_target=interstitial_lesson


I believe that I have done what the lesson asked me to do, which was set the line height of my paragraph element to 1.7em. It keeps returning the error message "Did you set the line height to 1.7em?" and not allowing me to click Next. What am I missing?


p {
  line-height: 1.7em;
  color: AliceBlue;
  font-family: Roboto, sans-serif;
  font-size: 20px;
  line-height: 1em;
  text-align: left;
  width: 100%;
}


#2

I was apparently able to fix it by moving the line height property to the end of the rule


#3

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