Learn Typography by Building a Nutrition Label - Step 55

Step 55:
Add another p element with the text Total Carbohydrate 37g 13% . Like before, use span elements to make the text Total Carbohydrate and 13% bold. Also add an additional span element to wrap the Total Carbohydrate 37g text in a span element so to have it aligned to the left, and 13% to the right.

I’m completely stuck here. Error message states: " A span element should wrap the text 13% .

Nutrition Label

Nutrition Facts

8 servings per container

Serving size 2/3 cup (55g)

Amount per serving

Calories

230

% Daily Value *

Total Fat 8g 10%

Saturated Fat 1g 5%

Trans Fat 0g

Cholesterol 0mg 0%

Sodium 160mg 7%

Total Carbohydrate 37g 13%


Apologies, here’s a screenshot of my current code…

Solved it! Sorry guys

1 Like

Hello @amandapaige2003

Good job! That closing span tag was ruining the work.