What's wrong with my code?


#1


<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
<title>Result</title>
</head>
<body>
<h3>H3</h3>
<h3 class="Fancy"/>
<p>Sample Text</p>
<p class="fancy"/>
</body>
</html>

Apparently I haven't added any text inbetween my h3 tags.


#2

You didn't close the h3 tag you gave it a class but didn't add in any text

Same error with your paragraph tag

<h3 class="myclass"> my text within my h3 header </h3>

Heading and paragraph tags are not self closing tags