I am having trouble with the bolding of intro and summary paragraphs:
p {
font-family: Garamond;
}
div p {
font-weight: bold;
}
div p {
color: #7AC5CD;
}
ul p {
color: #000000;
text-decoration: underline;
}
I am having trouble with the bolding of intro and summary paragraphs:
p {
font-family: Garamond;
}
div p {
font-weight: bold;
}
div p {
color: #7AC5CD;
}
ul p {
color: #000000;
text-decoration: underline;
}
Try using the ( > ) symbol as explained in the lesson. For example, if you use:
div > p { /* Some CSS */ }
It will only grab the “p” that are directly nested inside the div.
Additionally, there is not need to have two “div p” CSS elements. I believe the first div p element that you want bolded should come from the body and not the div (body > p), since it is a direct child of the body.
Thanks! That worked!
The introduction and summary paragraph are the only paragraph which are a direct child of body, you seem not to target the introduction and summary paragraph at all, they are not nested inside a div.
SCT unfornately doesn’t catch all the errors in this exercise
Not a problem at all. Community is powerful!