This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
Submitted by Olivia
almost 9 years

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

1 vote

Permalink

@olivia, this:

div p {
color: #7AC5CD;
}

should be:

div > p {
  color: #7AC5CD;
}

for the rest, your code is fine. if still get a n error, try a different browser

points
Submitted by stetim94
almost 9 years

9 comments

Olivia almost 9 years

I’ll try another browser.

stetim94 almost 9 years

worked?

Olivia almost 9 years

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.

stetim94 almost 9 years

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

Olivia almost 9 years

Trying another device. Wish me luck!

stetim94 almost 9 years

and?

Olivia almost 9 years

Got it! Thanks, man!

stetim94 almost 9 years

So you had a glitch, good you made it work

Olivia almost 9 years

Yep, all de-bugged and working like a well-oiled machine, if I may.

Answer 5538724176b8fee019000343

0 votes

Permalink

I got this

body > p { font-family: Garamond; font-weight: bold;

}

div > p {

color: #7AC5CD
} div li > p { color: #000000; text-decoration: underline;

}
points
Submitted by Preshan Dietje
almost 9 years

2 comments

stetim94 almost 9 years

this one is not good

Olivia almost 9 years

Thank you, guys! :)

Answer 553d0c5b95e37872ab000454

0 votes

Permalink

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; }

points
Submitted by Alejandro Cortes
almost 9 years

6 comments

stetim94 almost 9 years

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

Alejandro Cortes almost 9 years

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.

stetim94 almost 9 years

but your code is fine.. ? It should pass and it did, which is fine. but more important? do you understand what you did/

Alejandro Cortes almost 9 years

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 {

    ?

    Alejandro Cortes almost 9 years

    ul > li > p { works as well as li >p {

    stetim94 almost 9 years

    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

    0 votes

    Permalink

    /Add your CSS below!/ p { font-family:Garamond; } body>p { font-weight:bold; } ul p { color:#000000; text-decoration:underline; } div>p { color:#7ac5cd; }

    points
    Submitted by eyadelameer
    almost 9 years