Step 43 total fat 8g 10%

Hey I have no idea what the problem is with my code. as far as I can see it is spelled correctly and everything is in its right place but im still getting an error message. It is telling me that my Total Fat text should be wrapped in a span but it clearly is so whats the problem??

Step 43

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.

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

put the opening span in the top (8g do not need a span)(p,span,span,text,closing span,8g,closing span)
nest the Total Fat and the 8g in span

1 Like

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