Feni
February 6, 2023, 10:05am
1
Hi guys
May you kindly please help.
The problem statement is: For the two p
elements you just added, add dessert
as the value of the first p
element’s class
attribute and the value price
as the second p
elements class
attribute.
<p class:"dessert">Donut</p><p class:"price">1.50</p>
Am I missing something? I can’t seem to figure out what the issue might be.
Thank you in advance
You have only one p element here. Kindly post the link to the challenge
Feni
February 6, 2023, 10:28am
3
Here you go:
Learn Basic CSS by Building a Cafe Menu: Step 50 | freeCodeCamp.org
But isn’t that two p elements joined together?
What would be the solution?
Feni
February 6, 2023, 10:29am
4
Also, the Hint states:
You should have one p
element with the dessert
class.
Which I do not understand.
Feni:
class:"dessert"
your class assignment is wrongly written . It is supposed to be in the form class="abc"
Feni
February 6, 2023, 10:36am
6
Wow, I can’t believe just how absent-minded I was there.
To think I was so sure!
Thank you so much Adam
1 Like
system
Closed
August 7, 2023, 10:36pm
7
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.