Learn Typography by Building a Nutrition Label - Step 43

Hi! Sorry to bother asking again, but I’m doing exactly what I was told and it doesn’t work:

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

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0

Challenge: Learn Typography by Building a Nutrition Label - Step 43

Link to the challenge:

Swap the first opening ‘span’ tag with the next to it (with the ‘class’ attribute), and leave a blank space before “8g” and after the following closing </span> tag.

1 Like

It didn’t work :frowning:

<div class="divider"></div>
      <p><span><span class="bold">>Total Fat</span></span> 8g </span><span class="bold">10%</span></p>
    </div>

Enjoy !!! :clinking_glasses:

3 Likes

Thank you so much, since this is not my first language I struggle with some explanations!

I was getting the standard error messages and literally the only issue with mine was that I was missing the space before “8g" but I had it after "Total Fat” as such. Thanks for the assist!

2 Likes

@ TheMechanic

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

Hero dude! Thank you so much!!! :sweat_smile: :smiling_face_with_three_hearts: :blush:

hey what the answer then?

that not work for me :frowning:

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