Learn CSS Colors by Building a Set of Colored Markers - Step 38

Tell us what’s happening:
Hi, I am trying to use the rgb function for the marker: .two
I am pretty sure it is (225, 0, 0). But I can get the approval of the editor to continue. Can someone, have alook on this and then tell me what is going on?. Thx

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Colored Markers</title>
    <link rel="stylesheet" href="styles.css">
  </head>
  <body>
    <h1>CSS Color Markers</h1>
    <div class="container">
      <div class="marker one">
      </div>
      <div class="marker two">
      </div>
      <div class="marker three">
      </div>
    </div>
  </body>
</html>
/* file: styles.css */
h1 {
  text-align: center;
  background-color: rgb(0, 255, 255);
}

.container {
  background-color: rgb(255, 255, 255);
  padding: 10px 0;
}

.marker {
  width: 200px;
  height: 25px;
  margin: 10px auto;
}


/* User Editable Region */

.one {
  background-color: rgb(0, 0, 0);
}

.two {
  background-color: rgb(225, 0, 0);
}

/* User Editable Region */


.three {
  background-color: rgb(0, 0, 0);
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36

Challenge: Learn CSS Colors by Building a Set of Colored Markers - Step 38

Link to the challenge:

This is a common typo. The first value should be 255. (Notice one 2 and two 5s.)

THX, bro. I have been many hrs on this… I guess I need a brake

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