Stuck on ecercise number 6 (HSL) in styling with CSS


#1

HELP!
I'm in "styling with CSS", stuck at the exercise number 6 about HSL.
Here is the link to this exercise : https://www.codecademy.com/courses/learn-html-css/lessons/css-colors/exercises/hsl-colors?action=lesson_resume

This the instruction 1 :
"In style.css, change the color of the main heading and set it to an HSL color with the values 350, 58.8%, 42.0%"

I keep writing this same code, (see it at he bottom) which is the good one i think. This following error message keeps displaying :
"Did you change the hex color to an HSL color?"

h1 {
  color: hsl(350, 58.8%, 42.0%);
}
What is wrong ? i've tried everything i could.

#2

Few tips:

  • Ensure you don't have another color style for same h1 below this written style.

  • Be sure to have all semi-colon in place to end a style line.

  • Do a page reload and then log out and in back.

If these do not work, consider posting your full CSS code here. Thank you! :wink:


#3

Hi,

I have run Your Code but it cant be display any kind of Error. Or Your CSS is Completetly right.
See Bellow Code and Output.

<html>
	<head>
		<style>
			#ff
			{
				color: hsl(350, 58.8%, 42.0%);
			}
		</style>
	</head>
	<body>
		<h1 id="ff">Hello World..</h1>
	</body>
</html>

Output :

THANK YOU,
Divyesh Padamani


#4

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