Below your element with the Total Fat
text, create a new p
element with the text Saturated Fat 1g 5%
. Wrap the 5%
in a span
with the class
attribute set to bold
. In this case this is enough to align the percentage to 5%
.
You should create a new p
element below your element with the Total Fat
text.
Please post your actual code instead of a screenshot. Also, please post a link to the Step. Thanks
I put the code formatting instructions in your other thread. If you use the Ask for Help button, then this formatting is automatic.
<div class="daily-value small-text">
<p class="bold right">% Daily Value *</p>
<div class="divider"></div>
<p><span><span class="bold"></span> <span class="bold"></span></p>
<p>Total Fat 10%</p>
<span>Saturated Fat 1g<span class="bold"><span> 5%</span>
</div>
Note: It does not let me post the code. Thanks for understanding.
Can you tell us a bit more about the instructions or error message is confusing?
I don’t see a new p
element here?
Hang on. I’ll get it up here.
Sorry, your code does not pass. Keep trying.
You should create a new p
element below your element with the Total Fat
text.
Right, that’s the error message. But what specifically about it has you confused?
I don’t see a new p
element?
Wait! Hang on. I’ll see what I can do about this.
The problem is… It’s not passing.
I understand it is not passing. I’m trying to have a conversation about the instructions and your code.
You don’t have a new p
element in the code you added. That’s what the test is saying.
This is your old p
element.
Yeah. I’m trying to understand. It gets hard for me as a new coder. I do see the old P element. Would you be able to give me some hints?
You created a p
element before. You need to make a new one again, right below the old one that says Total Fat 10%
.
Ok… Thank you so much.
These are the tags you need to add.
Also, I’d undo the changes to the old p
element.
Understood. I will add those.
Ah, I see, you used a span in place of a p.
Hahahaha, typo’s. Oops, I’ll fix it.