10. Beyond HTML Elements, Did you remember to remove the comment from the CSS tab?


#1

I have clearly removed the whole comment and reset the code to remove it again and it keeps sending an error message!!!

HELP


#2

Could we see your code?


#3

The index.html looks like this:

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
		<h3 class="red">I'm an h3 header in the red class!</h3>
		<h3>I'm just a regular old h3 header.</h3>
		<p class="red">I'm a paragraph in the red class!</p>
		<p>I'm just a regular old paragraph.</p>
		<p id="rogue">I'm a rogue paragraph! I do what I want!</p>
	</body>
</html>

My stylesheet.css looked like this BEFORE I deleted everything:

/*
.red {
	color: red;
}

#rogue {
	color: #FF00FF;
	font-weight: bold;
	font-family: cursive;
}
*/

Am I supposed to leave parts of the comment there? It says delete all..


#4

I'm supposed to delete the whole comment between and including the / and / ?


#5

No, don't do that. Right now, because it is surrounded by /* */, all of your CSS code is a comment. That means that it is not being processed.

The exercise wants you to remove the /* and */ so that the CSS will then be read and processed.


#6

Thank you so much! I thought it was asking me to REMOVE the comment!