Learn Basic CSS by Building a Cafe Menu: Step 32

The question say " Starting below the existing coffee/price pair, add the following coffee and prices using article elements with two nested p elements inside each. As before, the first p element’s text should contain the coffee flavor and the second p element’s text should contain the price"

I have responded with the code below:

<article> <p>Caramel Macchiato</p> <p>3.75</p> </article>
<article> <p>Pumpkin Spice</p> <p>3.50</p> </article>
<article> <p>Hazelnut</p> <p>4.50</p> </article>
<article> <p>Mocha</p> <p>4.50</p> </article>     

When checking the code, I’m receiving the below message.


Sorry, your code does not pass. Keep trying.


Each article element should have two p elements.

The link to the challenge: Learn Basic CSS by Building a Cafe Menu: Step 32 | freeCodeCamp.org

Please advise.

1 Like

You seem to have an extra opening and closing article tags?

Please include the link to the challenge in your posts. Thanks


I have added the link in the post, Thanks.

Ok, a few issues:

  1. You should keep the article element that was there

  2. You need to add your 4 new article elements below the one that was already there

  3. You have a small typo in one of your prices



1 Like

Please stop posting solutions

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