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

Hello. Here is the issue. I’ve done everything possible. I tried to solve this error by myself after awhile. Yet I keep getting this error.

Your code so far

/* file: index.Ext.html */
h1 {
  text-align: center;
}

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

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

.red {
  linear-gradient:(90deg,rgb(255, 0, 0);
}

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

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

/* 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 {
  linear-gradient:(90deg,rgb(255, 0, 0);
}

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

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

Your mobile information:

iPhone - iOS16.6

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

Link to the challenge:

Your property’s value isn’t identically what’s required. Check your ()s

Hello!

It appears the closing ) for the linear-gradient is missing. Only the color has both of its ( )

Hope this helps you!

Happy coding! :slight_smile:

1 Like

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