Setting p tags to font-family in index.html


#1



https://www.codecademy.com/courses/web-beginner-en-TlhFi/1/3?curriculum_id=50579fb998b470000202dc8b#


Above is the link to the exercise that I am stuck at.The exercise requires that ,I set all the paragraphs to Courier, font-family ,the background-color of the to "yellow'and all the h3 headers to red.I have done that and below is my code.When I run it however,I get an error that says ,"Oops make sure you set you p tags to Courier! font-family.So i am stuck here.Is there something wrong with my code?


<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>I Know Kung Fu (er, CSS)</title>
	</head>
	<body>
		<div>
			h3 {
			color: red;
			} 
			What's CSS for?
			p {
                   font-family: Courier;
                    }
CSS is for styling HTML pages!

	    	h3 {
			color: red;
			} 	
			Why use it?
			p {
            font-family: Courier;
            }
			It makes webpages look <span style="background-color: yellow;">really rad</span>.
			h3 {
			color: red;
			} 
			What do I think of it?
			p {
			font-family: Courier;
			}
			It's awesome!
		</div>
	</body>
</html>


#2

Hi can you post post all your html & css code?..


#3

I see <div> tags around your CSS styling, your CSS should be in your .css file - tabe next to index.html


#4

Hi Wizmarco

Let me post the all the html and css code


#5

Hi Zainabrawat

Let me repost the entire code again.the code is actually in html.index but is supposed to be written in css.I had posted the link to the actual lesson but let me repost again the entire code.