Check yourself before you wreck yourself


#1




h1 {font-family: Verdana; }
h3 {font-family: Courier; }
p {color: purple; }
/ * Style sheet for index.html * /

What is wrong with these codes? Oops, try again. Did you remember to include your tag?


#2

Could I please see your html and a link to the exercise?


#3

Hi. Check yourself before you wreck yourself
You've learned a lot in just a few short lessons. We're impressed! Let's quickly review to make sure you really know your stuff.

Instructions
Add a to stylesheet.css between your tags.
Change the

header's font-family to Verdana. (Make sure Verdana is capitalized as shown!)
Change the

header's font-family to Courier. (Make sure Courier is capitalized as shown!)
Make the paragraph text color purple.
Add a /* CSS comment */ to the CSS tab! It can say anything you like. (Remember: HTML comments and CSS comments are written differently.)
?
Here is my code. on the html tab
An this is on the CSS tab
h1 {
font-family:Verdana;}
h3 {
font-family:Courier;}
p {
color:purple;}
/ * my CSS comment * /


#4

#5

Hi! I included the link on the html tab and did these codes on the css tab
h1 {
font-family:Verdana;}
h3 {
font-family:Courier;}
p {
color:purple;}
/ * my CSS comment * /


#6


#7


#8

The problem is that in your html, then <link type="text/css" rel="stylesheet" href="stylesheet.css"/> is commented out and it looks like this: <!-- <link type="text/css" rel="stylesheet" href="stylesheet.css"/>--> Make sure that instead it looks like this: <link type="text/css" rel="stylesheet" href="stylesheet.css"/>


#9

your css comment is also a problem, you can't have spaces in /* and */, since together then indicate a comment. Not individual


#10

Thank you very much! The problem has been fixed and I am moving forward :slight_smile: !