Learn Basic Coding by Building a Cafe Menu Step 32

How would I add the class name flavor to my p element?

How did you add the class name menu to the div element?

< div class=“menu” >. I tried added the exact line of code inside the p element like this < p > < div class=“flavor” > French Vanilla< /p >. I know this is incorrect, but I do not know how else to do it

P is an html element just like div.
How did you add the menu class to div?

Add the flavor class to p the same way.

(Notice I didn’t say to add the div element to the p element, I was asking specifically about how the class attribute was added to div… so you use the same steps to handle the p element)

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.