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

Tell us what’s happening:

In step 71, CSS Colors, build a set of markers, I don’t understand what I am doing wrong. This is what I entered:

.sleeve {
width: 110px;
height: 25px;
}

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 class="sleeve"></div>
      </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;
}


/* User Editable Region */

.sleeve {
  width: 110px; 
  height: 25px;
  }

/* User Editable Region */


.red {
  background: linear-gradient(rgb(122, 74, 14), rgb(245, 62, 113), rgb(162, 27, 27));
}

.green {
  background: linear-gradient(#55680D, #71F53E, #116C31);
}

.blue {
  background: linear-gradient(hsl(186, 76%, 16%), hsl(223, 90%, 60%), hsl(240, 56%, 42%));
}

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Challenge Information:

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

Your solution works from my end. Please try one of the following steps to move forward.

Click on the “Restart Step” button and force a refresh of your page with CTRL + F5 then try to paste the code in again.

or - Try the step in incognito or private mode.

or - Disable any/all extensions that interface with the freeCodeCamp website (such as Dark Mode, Ad Blockers, or Spellcheckers), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

or - Ensure your browser is up-to-date or try a different browser.

I hope one of these will work for you.

Thanks @hbar1st …I have tried everything you suggested and even updated my Mac, but still cannot proceed.

It keeps showing the same code failure message:

Your .sleeve CSS rule should have a height property set to 25px .

For now maybe you should skip this step. You can also try to open a GitHub issue to ask the developers to investigate more.

If I skip this step, I won’t be able to complete the course OR more importantly, get the certification :frowning_face:

I am new to coding…how do I open a GitHub issue to ask the developers to investigate?

More info here:
https://www.freecodecamp.org/news/how-to-report-a-bug-to-freecodecamp/

tldr click New Issue and fill out the form:
https://github.com/FreeCodeCamp/freecodecamp/issues

2 Likes

You can skip any step you like and it has no effect on certification. The certificate depends on the 5 projects only.

CTRL + F5 is for Windows

How to do an Hard Refresh

While on the problematic page, use the key combination below to trigger a hard refresh depending on your operating system:

  • Windows: CTRL + F5
  • Mac/Apple: Apple + Shift + R or Command + Shift + R
  • Linux: F5

I was doing the refresh for Windows, di the Mac refresh and it worked. Thank you! :grinning:

1 Like

Yeah sorry, we assume people know that command and CTRL are interchangeable depending on the computer.

Where did you copy those instructions from btw? I might adapt them for our response to this issue.

No worries! Someone else responded above:

More info here:

tldr click New Issue and fill out the form:

Thanks. I will probably update our standard response to include the steps if it helps.

1 Like