CSS Selectors 22.ID selectors. I cant seem to find my error.. Can you help me?


#1


https://www.codecademy.com/courses/web-beginner-en-WF0CF/4/4?curriculum_id=50579fb998b470000202dc8b#


<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css" div id="serious"  />
		<title>Result</title>
	</head>
	<body>
	    <p>i am a paragraph</p>
		<div id ="serious" </div>
	    <p>i am a paragraph</p>
	</body>
</html>


/*Add your CSS below!*/


   #serious {
            font-family:Courier;
            color:#8C8C8C;
}

Oops, try again. Did you give your new paragraph an ID of 'serious'?

I need help getting my codes correct. But I cant seem to find my error.. Can you help me?


#2

you added the id to a <div>, not a paragraph? Please be careful in the exercises with the html elements you added. If you don't do it right, you get in trouble later


#3

https://www.codecademy.com/courses/web-beginner-en-WF0CF/4/4?curriculum_id=50579fb998b470000202dc8b# Correct Asnwer!! thanks for the help!!!:grinning:


#4

where did your heading go you made in exercise 21? without it, you might get in trouble at exercise 23


#5

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