Named Color


#1


https://www.codecademy.com/courses/learn-html-css/lessons/css-colors/exercises/rgb-colors?action=lesson_resume


At first, it was saying that I did not replace the "Named Color" with the RGB numbers it wanted. I went it and tried to restart the exercise. I went in and put in the rbg but then the whole page went white and it said that both the instructions were checked off and completed... I'm completely lost. I have no idea what is going on. Any help would be much appreciated! Thank you!


.header {
  background-image: url("https://s3.amazonaws.com/codecademy-content/courses/web-101/unit-4/htmlcss1-img_coffee-bgnd.jpeg");
  height: 400px;
  background-position: center center;
}

h1 {
  color: rgb(54, 74, 101);
  font-family: 'Covered By Your Grace', sans-serif;
  font-size: 100px;
  line-height: 76px;
  margin: 0;
  position: relative;
  text-align: center;
  top: 20%;
}

/** List style **/

h2 {
  color: rgb(23, 108, 224) ;
  background-color: DarkMagenta;
  font-family: 'Raleway', sans-serif;
  font-size: 28px;
  font-weight: 500;
  text-align: left;
  text-transform: uppercase;
}

ul {
  margin: 0 auto;
  padding: 0;
  width: 50%;
}

li {
  border-bottom: 1px solid #E4BB97;
  list-style: none;
  margin: 100px 0px;
  padding-bottom: 60px;
}

p {
  color: #444444;
  line-height: 32px;
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  font-weight: 100;
}

a {
  color: #214E34;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 2px;
}


#2

I didn'y have access to the lesson, but I think should be:

color: red;

red just for example of named color.


#3

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