This forum is now read-only. Please use our new forums! Go to forums
I don't understand what I'm doing wrong (12/26)
/* CSS comment*/ h1 { font-family: Verdana; } h3 { font-family: Courier; } p { color: purple; }
I tried to submit this and it keeps asking if I remembered to make my h1 font-family Verdana?
Answer 55d22e30937676778b000504
Hi, The code you have written above, is fine. There is nothing wrong with it, but the problem is on the “index.html” page/tab.
In Instructions, the first things it says, it to: “Add a to stylesheet.css between your tags.“
This mean that you need to tell your html page to get the CSS another page.In simple words, telling your HTML page to get the CSS from a particular page.
So, you use the link tag (example below) to tell the HTML page to link another page like this:
<link type="text/css" rel="stylesheet" href="FILE NAME.css"/>
In our case, the CSS file is called “Stylesheet.css“, so our code will look like this:
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
Hope this makes sense to you and everyone who is looking for help :-) Any questions or problems, with this activity, than comment here and I will get a notification and than I will be happy to help.
Thanks, Waleed
Answer 55e32a2286f552130c000374
Firstly thanks for letting me know about your problume. You can refresh the page and try again but i assume that i you have already tried that few times. I recommend you to reset your code and try writing compleating the exercise again. If still donse’t work than here is the full code which should work:
<!DOCTYPE html>
Copy all the code and replace with the rest of the code. If you still have problumes, than let me know and i will try my best to help you. Enjoy !
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
2 comments
I also couldn’t see what was wrong and then saw I missed the final / before >. Thanks for the answer
Waleed, I’m still seeing this error, I’m afraid, and I have added exactly what you have to my html file (and added exactly what Connie has to the CSS file.