Learn CSS Colors by Building a Set of Colored Markers - Step 67: got stuck. Help would be greatly appreciated

Tell us what’s happening:

Hi, everyone

I’ve got stuck in here and can’t figure out what’s wrong with my code so far, despite having already reviewed it many times.

If someone could kindly take glance in my code that follows bellow, and tell me were is the error, I’d be incredly grateful.

Many thanks in advance.

Warm regards

Your code so far

/* file: index.Ext.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.Ext.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: linear-gradient(rgb(122, 74, 14), rgb(245, 62, 113), rgb(162, 27, 27));
}

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

.blue {
  background:(hsl(186, 76%, 16%));
}

Your mobile information:

SM-G935V - Android 8.0.0 - Android SDK 26

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

Link to the challenge:

Hello.
You have not used the linear-gradient function. It should come before (hsl(186, 76%, 16%))

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