Add a medium divider after your .daily-value element. Below that new divider, create a p element with the class attribute set to note.
Give the p element the following text:
I wrote this:
<p class="note"> * The % Daily Value (DV) tells you how much a nutrient in a serving of food contributes to a daily diet. 2,000 calories a day is used for general nutrition advice.</p>
But when I click the button to submit the code, it says:
Test
Sorry, your code does not pass. Try again.
Hint
Your new p element should have the class set to note.
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.
This step says to add p element below the new medium divider. I did that too. but it still not working. I donât know what else to do. the hint says I need to have a new p element should have the class set to note. my code has that.
<div class="divider medium"></div>
<p class="note">* The % Daily Value (DV) tells you how much a nutrient in a serving of food contributes to a daily diet. 2,000 calories a day is used for general nutrition advice.</p>
</div>
passed it, finally.
I mistakenly added an extra div end tag. Now Iâve removed it and moved on.
But the hint was misleading. It only says I need to set class attribute to note.