Learn Typography by Building a Nutrition Label - Step 43

Problem:

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.

my solution:
<p><span><span class="bold">Total Fat</span> 8g</span> <span class="bold">10%<span></p>

The hint is: Hint Your p element should have three span elements.

I have three <span> elements in my code but it still doesn’t pass.

MOD: Added link to challenge.

Welcome to the forums!

You have a typo. Check each of your span tags. One of them is missing something.
I also added a direct link to the challenge in your post, which is always useful for people trying to assist.

Ha! Thank you for assisting. I did not see that

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