Error in Exercise 9-8 "font-weight"


#1

Hola, el ejercicio me da error diciendo que la introducción y el resumen no está en negrita, pero en la pantalla aparecen en negrita, he probado distintos códigos que hay en el foro y ninguno me da correcto.
Hi, i need help, the exercise say that Introduction and Resumen aren't in Bold, but in window i can see it right, this is my code:
p {
font-family: Garamond;
}
body> p {
font-weight: bold;
color: #000000;
}
body >div > p {
color: #7AC5CD;
}

body> div> ul > p {
color: #000000;
text-decoration: underline;
}
what is wrong with de Font-weight ???


#2

@pabloleonpsico,

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
div p as selector we have selected 4 p-Tag's
li > p    as selector we have selected 3 p-Tags under the ul-Tag

Some reference-material:
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference

https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes

As jQuery uses the same syntax for it's selector's
http://www.w3schools.com/jquery/jquery_ref_selectors.asp


#3

Hi Leonhard, i've tried with
html > body > p { Font-weight: Bold}
and
body > p { Font-weight:Bold}

But the exercise always says the same: Those two paragraphs (Introduction and Resume) Aren't turn in Bold Font, i'm doing it in the spanish translation, and I see the paragraphs in Bold Font on the window of results, so i think that is a problema in the own exercise or the web. I'm going to do the following exercises, sadly i cant pass this lesson.

Thanks for all.


#4

Hola, Tambien presente el mismo problema.

La unica forma que pude solucionarlo fue agregando la etiqueta < strong > en los parrafos de Introducción y resumen, dentro del indext.html.

index.html:
...
< strong >< p >Introducción: Efecto cascada con CSS< /p >< /strong >
...
< strong >< p >Resumen: Una mayor especificidad hace que CSS le dé prioridad a ese estilo particular.< /p >< /strong >

stylesheet.css:
/*Agregá tu CSS a continuación!*/
p { font-family:Garamond; }

li > p { text-decoration:underline; }