Learn Typography by Building a Nutrition Label - Step 43

Getting the issue: Your new p element should have the text Total Fat 8g 10% .

Even after reading through other threads I am stull not sure why I am having issues.

Instructions given:

After your last .divider element, create a p element and give it the text Total Fat 8g 10% . Wrap the text Total Fat in a span element with the class of bold . Wrap the text 10% in another span element with the class of bold . Finally, nest the Total Fat span element and the text 8g in an additional span element for alignment.

Code:

div class=“daily-value small-text”>
p class=“bold right”>% Daily Value *


/div>
div class=“divider”>
p>
span class=“bold”>
span>Total Fat 8g
/span>
span class=“bold”>10%
/p>

Welcome to the community @Zerxis654 !

Could you please use the Help that appears after three unsuccessful attempts at any step in Responsive Web Design to submit all code and your question?

This will allow the community to respond quickly, with the correct guidance to help you resolve the issue.

Without seeing the complete code, it is difficult to know why your are receiving the error.

Keep up the good progress. :sun_with_face:

1 Like

Welcome to the forum @Zerxis654


<p>
<span class=“bold”>
<span>Total Fat 8g
</span>
<span class=“bold”>10%
</p>

Just a few fixes required.

  1. Please delete the second span opening tag
  2. Place an opening *span * tag after the opening paragraph tag
  3. Place a closing span tag after Fat
  4. Place a closing span tag after 10%

@anon42932716 is right in asking to post the whole code, as sometimes there are other issues preventing cod from passing.

Happy coding

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