Border problem


#1

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

Instructions:
1.
In style.css, set the border of the .hotel to 2 pixels wide, a solid line, and the color #FFF.

Error:
Did you set the border to the correct styles?

P.S.
i've tried to do

border: 2px solid collor(#fff);

and also

border-width: 2px;
border-style: solid;
border-color: #fff;

body {
  padding: 0;
  margin: 0;
  background-color: #1E1E24;
  text-align: center;
}

.jumbotron {
  background-image: url("https://s3.amazonaws.com/codecademy-content/courses/web-101/unit-6/htmlcss1-img_singaporeskyline.jpeg");
  height: 400px;
  background-position: bottom center;
}

h1 {
  color: #FFF;
  font-family: 'Ruda', sans-serif;
  font-size: 70px;
  font-weight: 900;
  margin: 0;
  padding-top: 120px;
  text-align: center;
  text-transform: uppercase;
}

h2 {
  color: #FFF;
  font-family: 'Catamaran', sans-serif;
  margin: 0;
  text-align: left;
}

h3 {
  color: #D7263D;
  font-family: 'Ruda', sans-serif;
  font-size: 32px;
  margin: 0;
  position: relative;
  text-align: left;
  text-transform: uppercase;
}

p {
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Pontano Sans', sans-serif;
  margin: 0;
  text-align: left;
}

.hotel {
  margin: 60px auto;
  padding: 10px 0px 0px 0px;
  width: 90%;
 	border: 2px solid rgb(#FFF); 
  /* This makes no sense i know, but what should i do here? Im very confused */
}

.hotel-img {
  display: inline-block;
  margin-top: 20px;
}

.hotel-description {
  display: inline-block;
  width: 70%;
}

.book {
  margin-top: 30px;
  width: 100%;
}

a {
  background-color: #D7263D;
  color: #FFF;
  display: block;
  font-family: 'Pontano Sans', sans-serif;
  font-size: 16px;
  padding: 14px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

ul {
  padding: 0;
  margin: 10px 0px;
}

li {
  margin: 0;
  list-style: none;
}

#2
#FFF  (or #fff, or #ffffff)

or

rgb(255, 255, 255)

#3

Its not the color, its the border style

EDIT: i think if i am not confused. I also tried your way but still didnt work.


#4
border: %width %style %color

border: 2px solid #FFF;

#5


#6

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