Can`t pass Question no.(lesson) 8


#1

Is there any problem in the coding? I don`t trhink so


#2

What does the error message say? Could you copy and paste your css code to the forum? You could have hit a glitch, try a different browser as workaround


#3

In last rule, you need to make it 'ul li p' instead of 'ul p'. That will target only p's inside li's. Other things seems fine. Any error?


#4

Why? There are multiply ways you can solve a problem. ul p and ul li p are both fine, both will select the paragraph inside the unordered list


#5

It's true, but it is common to write
<ul>
<li>
<p>element</p>
</li>
</ul>

so CSS selector can also be more detailed. Still I don't think that broke the exercise for him.


#6

True, but in this exercise, this is the html code you have. Plus, you always write list tags inside a (un)ordered list, so it doesn't matter if it is ul p or ul li p. Yes, yours will be 3 points, mine 2, i know, it matters a little, but not that much.