Challenge: changing the hue of the background-color

Tell us what’s happening:
I am struggling with the challenge of changing the hue of a (background-color);

test results accepts the hsl(180,100%,50%) ; but sill requires me to make the backgound color cyan

Your code so far


<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>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Firefox/52.0.

Challenge: Adjust the Hue of a Color

Link to the challenge:

Tested your code it works for me. Try reseting your catch. Delete history. Switch off to dark mode,
Still no fix switch browsers.

1 Like

…Or just try the same in Private Browsing mode and see if it persists.

If it doesn’t work, try deleting the commas in the code. Make sure the codes are exactly what you are asked.

thank you kitty for your response.
in my case - changing to dark theme and resetting my cache(through clearing my history etc) did not wor .
however, running the same code throug a different browser certainly helped.

test passed. thank you

thank you so much snigo for your help
i tried it in private browser still did not work, did however kittykora 's suggestion to change a browser got me throug the test

thanks solomonyahwin
i preserved the code as is and ran it through a different browser and passed as suggested by kittykora

thank you for your response