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

0 points
Submitted by Senior67
over 9 years

Am I missing something or is it the Browser?

I’m posting again, most f the time I do not receive a response because I resolve it myself. Not bragging just to let you know I don’t give up. Now I am preplexed, it keeps asking if I listed the Garamond font it is plain to see however, no passee, pass. Can anyone help? div p { font-family: Garamond; } body >p { font-weight: bold; } div p { color: #7AC5CD;

} ul p { color: #000000; text-decoration: underline; }

Answer 5463165f8c1ccc8fa8001432

4 votes

Permalink

@Senior67, If you are working with Tag selectors you must be able to read the index.html-document following the guide-lines of the DOM Document Object Model.

                   html
                     |
           + - - - - + - - - - +
           |                   |
          head                body
           |                   |
       + - - - +        +- - - +- - - +
       |       |        |      |      |
     link    title      p     div     p
                    (intro)    |  (summary)
                               |
                       + - - - + - - - - +
                       |                 |
                       p                 ul
                  (synopsis)             |
                                         |
                                 + - - - + - - - - +
                                 |       |         |
                                 li      li        li
                                 |       |         |
                                 p       p         p

The p-Tags are located:
html > body > p  (2)
html > body > div > p (1)
html > body > div > ul > li > p (3)
p         as selector we have selected all 6 p-Tag's
body > p  as selector we selected 2 p-Tags ==> Intro & Summary
div > p   as selector we have selected 1 p-Tag  ==> Synopsis
li > p    as selector we have selected 3 p-Tags under the ul-Tag
points
Submitted by Leon
over 9 years

1 comments

Kazankovka over 9 years

Actually, I was not able to see DOM. Now it is making sense to me