Applied Visual Design: Adjust the Hue of a Color

i need help with this exercise, The div element with class cyan already have a background-color of cyan but i keep getting it wrong

.https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/adjust-the-hue-of-a-color/

here is my code:

<style>

body {

background-color: #FFFFFF;

}

.green {

background-color: hsl(120, 100%, 50%);

}

.cyan {

background-color: hsl(180, 100%, 50%);

}

.blue {

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

}

div {

display: inline-block;

height: 100px;

width: 100px;

}

</style>

<div class=“green”></div>

<div class=“cyan”></div>

<div class=“blue”></div>

here is the error message:

“The div element with class cyan should have a background-color of cyan.”

It works on my end.

Try using chrome if you aren’t. Also make sure your code is formatted when you post on the forum.

1 Like

thanks it finally worked!