Learn Basic CSS by Building A Cafe Menu Step 52

Hi all!

Iā€™m having problems with Step 52.

This is the error message i am getting. I can not figure out what I am doing wrong after days of staring at it and rewriting it :confounded:


Sorry, your code does not pass. Keep trying.


Your section element should have eight p elements.

I also dont know how to make my code appear here

Welcome to the forum! Please past the link to the challenge you are working on, and the code you are using. You can reply to the post here, and use the format button which looks like </>. Paste all your code between the two lines it gives you

1 Like

Hi! Ok another edit to this post. I found the format button, but can i paste the link without giving access to my project?

      <article class="item">
        <p class="dessert"></p>Donut<p class="price">1.50</p>
      <article class="item">
        <p class="dessert">Cherry Pie<p/><p class="price">2.75</p>
      <article class="item">
        <p class="dessert">Cheesecake</p><p class="price">3.00</p>
      <article class="item">
        <p class="dessert">Cinnamon Roll</p><p class="price">2.50</p>


Step 52Passed

Below the dessert you just added, add the rest of the desserts and prices using three more article elements, each with two nested p elements. Each element should have the correct dessert and price text, and all of them should have the correct classes.

Cherry Pie 2.75
Cheesecake 3.00
Cinnamon Roll 2.50

I figured out my mistake! I did not have Donut enclosed within the paragraph tags and the closing paragraph tag for Cherry Pie was written incorrectly. Once fixed my code passed!

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