Lesson 12 help!


#1


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


Oops, try again. Did you remember to make your h1 font-family Verdana?


h1 {
    font-family: Verdana;
}
h3 {
    font-family: Courier;
}
*/p {
    font-color: purple;wtf
}*/


#2

I remark that you try to comment your p selector. But it is not the right way to comment. The right way should this /* */ . Correct it and try again.


#3

Thank you. The error I am receiving is about my fonts, however. those are the errors I am most concerned with. Any ideas why my font isn't changing?


#4

Your h1 is fine and the font should be apply One think you can do is refresh your page and try again.


#5

I've tried that many times and reset the code over and over and it's not working :frowning:


#6

Okay. Do you mind paste in your HTML code so that we can see what is wrong.


#7

The problem is not in your css after fixing the comment error it is probably in your index.html <link> </link> or any other html element for that matter.


#8



<link type="text/css"/> <rel="stylesheet"/><a href="stylesheet.css"/>		
	<title>Result</title>
</head>
<body>
	<h1>Change me to Verdana.</h1>
	<h3>Change me to Courier.</h3>
	<p>Make me purple!</p>
</body>


#9

The way that you link your CSS is not the right way. In your link remove the /> after type="text/css" remove the < before rel and /> after "stylesheet" remove also <a before href= .


#10

as I said before this link is the problem a link's basic syntax is ,

<link rel="stylesheet" type="text/css" href="example.css"/>

so you would put the actual .css file is where the example file is.


#11

Ok that worked. Thank you so much!!


#12

You're welcome :slight_smile:


#13