Have tried adding <div class=“flavor” to p element but not getting success.
Also this:
<p div class="flavor">French Vanilla</p>
anyone care to help?
Have tried adding <div class=“flavor” to p element but not getting success.
Also this:
<p div class="flavor">French Vanilla</p>
anyone care to help?
Could you share your code with us please, so that we can see what’s going wrong?
Tip: Press CTRL + e and then paste your code.
<p div class="flavor">French Vanilla</p>
<p>3.00</p>
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 (').
And please always provide a link to the challenge and all the relevant code - we don’t have these all memorized.
I believe you don’t need the ‘div’ there at all.
You just need the class attribute to be added to the p element
Thanks it worked i removed div.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.