Learn Typography by Building a Nutrition Label - Step 50

I don’t see what I’m doing wrong, please help me out. This is the code I have

<p class="right bold no-divider">% Daily Value *</p>
        <div class="divider"></div>
        <p><span class="bold">Total Fat</span> 8g<span class="bold right">10%</span></p>
        <p class="indent no-divider">Saturated Fat 1g <span class="bold right">5%</span></p>
        <div class="divider"></div>
          <p class="indent no-divider">Trans Fat 0g <i>Trans</i>
          </p>

And yet the hint I keep receiving is “Your new p element should have the text Trans Fat 0g.”

Why did you type in “Trans” two times?
Don’t change the text given. Just wrap the existing “Trans” word in the ‘i’ tags.

Would be helpful if you could post the link to your challenge here. What is the <I>Trans</i> for by the way?

To make the “Trans” italics

Kindly post the link to the challenge here

Yes, exactly. Then, you will pass the step.

Thanks a lot, I thought I had to wrap it in a separate element just like I would with …but I’ve got it

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.