# Nutrition Label step 43

**URL:** <https://forum.freecodecamp.org/t/nutrition-label-step-43/675854>\
**Category:** Curriculum Help\
**Created:** [February 28, 2024, 5:25pm UTC](https://forum.freecodecamp.org/t/nutrition-label-step-43/675854 "2024-02-28T17:25:29Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dylanmazurzgainer](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/dylanmazurzgainer/32/326980_2.png) [@dylanmazurzgainer](https://forum.freecodecamp.org/u/dylanmazurzgainer)\
**Post date:** [February 28, 2024, 5:25pm UTC](https://forum.freecodecamp.org/t/nutrition-label-step-43/675854/1 "2024-02-28T17:25:29Z")

</div>

I have a problem with this step 😅

# 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.

```auto
    <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>

```

Sorry, your code does not pass. Keep trying.

One `span` element should wrap the text `Total Fat`.

Link to the Step: [https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-typography-by-building-a-nutrition-label/step-43](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-typography-by-building-a-nutrition-label/step-43)

---

<div class="post-metadata">

**Author:** ![BintM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/bintm/32/355095_2.png) [@BintM](https://forum.freecodecamp.org/u/BintM)\
**Post date:** [February 28, 2024, 5:26pm UTC](https://forum.freecodecamp.org/t/nutrition-label-step-43/675854/2 "2024-02-28T17:26:20Z")

</div>

Hello! Welcome to the forum.

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (`</>`) to add backticks around text.

 ![Pre-formatted-text](https://global.discourse-cdn.com/freecodecamp/original/3X/1/b/1b18854f1059217f29370444396145cc3a0cd8ae.gif)

See [this post](https://forum.freecodecamp.org/t/forum-code-formatting/25574) to find the backtick on your keyboard.  
**Note:** Backticks (`) are not single quotes (').

---

<div class="post-metadata">

**Author:** ![JeremyLT](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jeremylt/32/291894_2.png) [@JeremyLT](https://forum.freecodecamp.org/u/JeremyLT)\
**Post date:** [February 28, 2024, 5:27pm UTC](https://forum.freecodecamp.org/t/nutrition-label-step-43/675854/3 "2024-02-28T17:27:56Z")

</div>

Please post a link to the Step. Also, please talk to us about how the instructions or error message is confusing. Thanks

---

<div class="post-metadata">

**Author:** ![dylanmazurzgainer](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/dylanmazurzgainer/32/326980_2.png) [@dylanmazurzgainer](https://forum.freecodecamp.org/u/dylanmazurzgainer)\
**Post date:** [February 28, 2024, 5:35pm UTC](https://forum.freecodecamp.org/t/nutrition-label-step-43/675854/4 "2024-02-28T17:35:11Z")

</div>

I modified the post. Nonetheless, I leave the link here in the comment:

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-typography-by-building-a-nutrition-label/step-43)**
>
> Learn to Code — For Free

Thanks for any help!

---

<div class="post-metadata">

**Author:** ![Teller](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/teller/32/412338_2.png) [@Teller](https://forum.freecodecamp.org/u/Teller)\
**Post date:** [February 28, 2024, 5:41pm UTC](https://forum.freecodecamp.org/t/nutrition-label-step-43/675854/5 "2024-02-28T17:41:14Z")

</div>

Welcome to the forum @dylanmazurzgainer

Place the second opening `span` tag before the first one, shown in the below code block.

> [@dylanmazurzgainer](#):
>
> ```auto
> <span class="bold">Total Fat</span>
> <span>8g</span>
> 
> ```

Happy coding

---

<div class="post-metadata">

**Author:** ![BintM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/bintm/32/355095_2.png) [@BintM](https://forum.freecodecamp.org/u/BintM)\
**Post date:** [February 28, 2024, 5:42pm UTC](https://forum.freecodecamp.org/t/nutrition-label-step-43/675854/6 "2024-02-28T17:42:04Z")

</div>

You need three span elements.  
One nesting `Total Fat` with a class of bold.  
One nesting `Total Fat 8g`  
And one nesting `10%` with a class of bold.

So you have the `Total Fat` and `10% nested correctly. But you nested the `Total Fat 8g `wrong. So move the span element that is directly before the `8g`to directly before first`.bold`

---

<div class="post-metadata">

**Author:** ![FrontEndCodeLearner](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/frontendcodelearner/32/347763_2.png) [@FrontEndCodeLearner](https://forum.freecodecamp.org/u/FrontEndCodeLearner)\
**Post date:** [February 28, 2024, 5:42pm UTC](https://forum.freecodecamp.org/t/nutrition-label-step-43/675854/7 "2024-02-28T17:42:47Z")

</div>

You need three spans. The first one needs to wrap the text “Total Fat.” You have that.

The next one needs to wrap the text “10%.” You have that.

No here is the problem, the last one needs to wrap the span that’s already around “Total Fat” and the text “8g” at the same time.

Does that help?

---

<div class="post-metadata">

**Author:** ![dylanmazurzgainer](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/dylanmazurzgainer/32/326980_2.png) [@dylanmazurzgainer](https://forum.freecodecamp.org/u/dylanmazurzgainer)\
**Post date:** [February 28, 2024, 5:45pm UTC](https://forum.freecodecamp.org/t/nutrition-label-step-43/675854/8 "2024-02-28T17:45:54Z")

</div>

This was the correct one! Thank you all for your feedback!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [August 29, 2024, 5:45am UTC](https://forum.freecodecamp.org/t/nutrition-label-step-43/675854/9 "2024-08-29T05:45:58Z")

</div>

Closed on August 29, 2024, 5:45am UTC

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