Your new p element should have the text Total Fat 8g 10%

here is my code

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

it stills show me the same error no matter what I did, I have looked in Net and this did the same as I did but it doesn’t pass

It would be great if you post the link to the step.

Also, posting the code instead of a screenshot can help us to find the problem easier.

here is the link : https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-typography-by-building-a-nutrition-label/step-43

You seem to have added an extra </div> element on top of the .divider element. This might be causing the tests to fail. If I just paste the p element you have used to the default code it works. fine

1 Like

I’ve edited your code for readability. 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.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').


The code you posted is passing for me.

But in the screenshot, you have changed code you were not asked to change. You closed the <div class="daily-value small-text"> element before the divider div.

Reset the challenge and just paste in the code you have posted in the correct location without making any other changes.

that works thanks body

1 Like