I am stuck in question 8 can any one help me?


#1


#2

From the looks of it, you have them nested incorrectly. Your "p " should be in front of the text. So my answer was wrong.

Plus I don't think you should add so many spaces between the code. Especially between font- and size, but I haven't tried it, so I'm not sure if that's a contributing factor.


#3

@eternallocket, do you see the tip of the lesson? Make sure you do not nest <p> tags incorrectly, your code will not work if you type something like this:

 <p><p style="font-size: 10px;" >Some text for you to make tiny!</p>

Style is an attribute you can add to a paragraph opening tag, lets say we start with this:

<p>Some text for you to make tiny!</p>

you can simple add a style attribute to the paragraph opening tag:

<p style="">Some text for you to make tiny!</p>

no need to create additional paragraph opening/closing tags in this process


#4

Ah, it seems I misread the image. I thought it said to do it in either of those ways. I thought it was weird, but I don't remember that part of the course very well. So went with what I thought it said. :dizzy_face:

Is the rest of what I put still correct, about the spacing especially when it comes to the style names?


#5

Yea, the rest of your code is fine.