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

Tell us what’s happening:
Describe your issue in detail here.

  **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 red">
    </div>
    <div class="marker green">
    </div>
    <div class="marker blue">
    </div>
  </div>
</body>
</html>
/* file: styles.css */
h1 {
text-align: center;
}

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

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

.red {
background: rgb(255, 0, 0);
}

.green {
background-color: #007F00;
}

.blue {
background-color: hsl(240, 100%, 50%);
}

  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6 Safari/605.1.15

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

Link to the challenge:

in this topic tells me to change the .red{ background-color:rgb(255,0,0);{ to .red{background:rgb(255,0,0{ and I can’t pass this step because its giving me a error to do the same thing I did.

  • List item

Hi @GabrielF ,

Please do a hard refresh and try again. (Also you can report this bug to FCC I believe)
It is working on my end.

1 Like

thanks for the fast reply. How do I report to FCC and what is FCC?
I refreshed 5 times and keeps the error.
in my print is anything wrong in the code?

Thank you for sharing the image. I tried replicating the error but again Exercise worked fine for me. (Attaching a gif here)
Machine: Win. , Browser: Chrome
poc

Could you please reset the step and try again?

If nothing works then please try reporting FCC.

1 Like

thank u for your help. Did as u said but keeps popping the same error. I will report to FCC and advance this step and working on the others thank you for your time.

Np, Cheers!


Note: the code request you to pay attention to the problem given…property to background and not background-color

thank you but i found the error. I had to clear my cache and i even had to change the device to pass it. But its all good now.