Please I need help in step 49

I don’t know what I am doing wrong. I think I am doing what the hint says but my code won’t pass.

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Colored Markers</title>
  <link rel="stylesheet" type="text/css" href="styles.css">
  <h1>CSS Color Markers</h1>
  <div class="container">
    <div class="marker red">
    <div class="marker green">
    <div class="marker blue">
/* 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-color: rgb(255, 0, 0);

.green {
background-color: #007F00;

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

  **Your browser information:**

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

Challenge: Step 49

Link to the challenge:

Note the text:

change the background-color property to background

It doesn’t look like you’ve done this.

1 Like

Should the code be in hex form? I super confused

I am doing just what it says. I have even tried being ''literal".

it should be background: rgb

1 Like

Its not. Didn’t work. I have been stuck on this step 49 for a whole day

Im having the same problem.

I have even tried other browsers(chrome and firefox), the code still won’t pass.

Same here, hope they will fix it soon

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

Then on the meta element can you change the UTF to caps.

Changing the “utf” to caps didn’t have any effect. The code still would not pass. :weary:

I truly wish there was a way one could skip this step and move on.

Can u share the error message


Hi @harford ,

Read again the hint carefully.

You should be using the background property.

In your code, you are using the background-color property, so change it :wink:

1 Like

Use this code i previously sent you.remove the word color.
.red {
background: rgb(255, 0, 0);

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