The color or font wont change/Oops, try again. Make sure to put some text between your <h3></h3> tags!


#1

Lesson 21 is basically reviewing the class selectors. If I use the class fancy, it wont let me change the font to cursive or the color to violet. Also, When press submit it says that I dont have any text between my h3 headers even tho I do.

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
		<!--Add your HTML below!-->
	<h3>I am a title</h3>
		<p>I am a paragraph</p>
		<h3 class="fancy"></h3>
		<p class="fancy"></p>
		
	</body>
</html>


.fancy {
    font-family:Cursive;
    color:violet;


#2

As the error saying, you need to add some text betwen your <h3></h3> tags

<h3>I am a title</h3>
		<p>I am a paragraph</p>
		<h3 class="fancy">Some Text</h3>
		<p class="fancy">Some Text</p>

#3

yes thank you it worked!


#4

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