6. Border color


#1


https://www.codecademy.com/courses/learn-html-css/lessons/borders/exercises/border-color?action=lesson_resume


I am asked to do this, which i had done. 1. In style.css, inside of the .hotel class selector, set the color of the border to #AF3432. I don't see ant error or why this wouldn't be accepted.


.hotel {
  border-style: solid;
  border-top-width: 5px;
  margin: 60px auto;
  padding: 10px 0px 0px 0px;
  width: 90%;
  border-color: #AF3432
}


#2

your missing a semicolon after your color number! :thumbsup:


#3

ahhh, ofc out of all possible things, thank you!


#4

Haha no problem! Glad to have helped! Yeah it is very easy to miss so don't feel bad. Try and look at the red dot errors on the left hand side of your CSS or HTML code and that might help direct you to any small error you might not have seen. :thumbsup:


#5

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