Can you Swing it?


#1

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


#2

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.


#3

Thanks! That worked!


#4

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


#5

Not a problem at all. Community is powerful!


#7

2 posts were split to a new topic: Can you swing it?


#9

2 posts were split to a new topic: Can you swing it?


#12

12 posts were split to a new topic: Can you swing it?