Lesson 12 help!



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


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.


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?


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


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


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


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.


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


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= .


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.


Ok that worked. Thank you so much!!


You're welcome :slight_smile: