Learn Typography by Building a Nutrition Label - Step 44

Step 44

Below your element with the Total Fat text, create a new p element with the text Saturated Fat 1g 5%. Wrap the 5% in a span with the class attribute set to bold. In this case this is enough to align the percentage to 5%.

I need some help in this Step. After i did the code, it keep telling me that i should create a new p element below your element with the Total Fat text.

<div class="daily-value small-text">
  <p class="bold right">% Daily Value *</p>
  <div class="divider"></div>
  <p><span><span class="bold">Total Fat</span> 8g</span> <span class="bold">10%</span></p>
  <p>Saturated Fat 1g <span class="bold">5%</span><p>  
</div>

Hello. It seems as if you have forgotten the slash in your closing p tag.

1 Like

So stupid, I tried for some time and it was so simple. Thanks!

1 Like

You are welcome. Happy coding!

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