A Font of Knowledge


#1

I don't know what's wrong it says "Oops, try again. Did you remember to set your h3 header font-family to cursive?" but it's already in cursive.

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
		<h1>I'm going to be a serif font when I grow up!</h1>
		<h2>I'm going to be a sans-serif font.</h2>
		<h3>I'm going to be in cursive!</h3>
	</body>
</html>

css

h1 {
    font-family: serif;
}

h2 {
    font-family: sans-serif;
    
h3 {
    font-family: cursive;
}

help!!!!


#2

your h2 css selector is missing its closing curly bracket (})


#3

oh yeah!!! Thanks I still wonder why do the cursive font look like a comic-sans?


#4

not all browser support all fonts, but that is a different question altogether. I don't know the answer to that


#5

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