Nutrition Label 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.

Hello, sorry but I made everything in there step and always its make wrong. why?
Could you help me please!

Please post your actual code and a link to the Step you are working on. Thanks


You should only write the text once and then add the span elements without adding any new text.

hi
in each intent what I make, Show me this:
One span element should wrap the text Total Fat .

i don’t understand why its wrong. Help me please

Sorry, why still its wrong?


Hi, how are you? why its wrong in this, what i did made wrong?

Please post your actual code instead of a picture and please post a link to the Step you are working on. Thanks

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

and this is what FreeCodeCamp shows me One span element should wrap the text Total Fat

<div class="daily-value small-text">
      <p class="bold right">% Daily Value *</p>
      <div class="divider">
      </div>

You wrote the text Total Fat twice. It must only be written once

they show me this One span element should wrap the text Total Fat .

Did you fix the fact that you write 'Total Fat’s twice?

Total Fat 8g 10%

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