Learn Basic CSS by building a Cafe Menu-step 43

When running the test, I consistently get an error of " running tests You should only have five articles."

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title>Cafe Menu</title>
    <link href="styles.css" rel="stylesheet"/>
  </head>
  <body>
    <div class="menu">
      <main>
        <h1>CAMPER CAFE</h1>
        <p>Est. 2020</p>
        <section>
          <h2>Coffee</h2>
          <article class="item">
            <p class="flavor">French Vanilla</p><p class="price">3.00</p>
          </article>
          <article class="item"><p class="flavor">Caramel Macchiato</p><p class="price">3.75</p>
          </article>
          <article class="item"><p class="flavor">Pumpkin Spice</p><p class="price">3.50</p>
          </article>
          <article class="item"><p class="flavor">Hazlenut</p><p class="price">4.00</p>
          </article>
          <article class="item"><p class="flavor">Mocha</p><p class="price">4.50</p>
          </article>
          
        </section>
        <section>
          <h2>Desserts</h2>
          <article class-"item">
            <p class-"dessert">Donut</p><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>
        </section>
      </main>
    </div>
  </body>
</html>

Please post a link to the step


I see 5 valid articles and then 4 broken articles? You don’t set an attribute value with a -

Also, closing tags are required for article elements.

Step 42 may be confusing. I was following a YouTube tutorial. Their “Step” text was constantly 1 step ahead. their 43 was my 42. Thanks for the quick reply!

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