This forum is now read-only. Please use our new forums! Go to forums
Font problems on 8/23?
I’ve gone over this repeatedly, and it should be perfect, but the error message saying, “Have you remembered to change all of the paragraphs’ fonts to Garamond?” is still popping up when I hit save and submit. I don’t see any problem; my computer supports the font and I’ve got the code right, I think…
p { font-family: Garamond; }
body > p { font-weight: bold; }
div p { color: #7AC5CD; }
ul p{ color: #000000; text-decoration: underline; }
Answer 5538ae3bd3292fc93200034e
Answer 5538724176b8fee019000343
I got this
body > p { font-family: Garamond; font-weight: bold;
}
div > p {
color: #7AC5CD
}
div li > p {
color: #000000;
text-decoration: underline;
}
Answer 553d0c5b95e37872ab000454
This is my code and it worked:
p { font-family: Garamond; }
body > p { font-weight: bold; }
div > p { color: #7ac5cd; }
ul > li > p { color: #000000; text-decoration: underline; }
6 comments
posting answers is good, but there needs to be a bit of explaining. Your answer is indeed a possible good answer. We already solved the question
Your right. I’m sorry what I should have said that I felt this was wrong but the program accepted it anyway. Specificlly the last three lines of code:
ul > li > p
I understood the activity wrong and I was just checking with everyone else.
but your code is fine.. ? It should pass and it did, which is fine. but more important? do you understand what you did/
This part:
Make the paragraphs in the unordered list have the color #000000 and text-decoration underline.
All I wanted to know is if you only have (1) un ordered list and you want to underline the items in the list (I.E.
) does it matter if you add the:ul > li > p {
or
li > p {
?
ul > li > p { works as well as li >p {
both are good, other possible solutions: ul p, ul li p, li p, and (but not valid to pass the exercise: ul li, ul > li
Answer 554262e186f552957f000391
/Add your CSS below!/ p { font-family:Garamond; } body>p { font-weight:bold; } ul p { color:#000000; text-decoration:underline; } div>p { color:#7ac5cd; }
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
9 comments
I’ll try another browser.
worked?
Nope. I’ve reviewed the code repeatedly, and it’s just not taking the code correctly. I can’t get another browser up, either, so I suppose I’ll just have to try another device.
Well, you could refresh/restart/clear the browsers cache. Or something is wrong in your html, sure you have a link to stylesheet and didn’t modify anything? Other browser (or other device) is the easiest solution
Trying another device. Wish me luck!
and?
Got it! Thanks, man!
So you had a glitch, good you made it work
Yep, all de-bugged and working like a well-oiled machine, if I may.