Learn Basic CSS by Building a Cafe Menu - Step 31

What? (Completely lost)

Your code so far

/* file: index.Ext.html */
<!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>
            <p>French Vanilla</p>
            <p>3.00</p>
            <p>Caramel Macchiato</p>
            <p>3.75</p>
            <p>Pumpkin Spice</p>
            <p>3.50</p>
            <p>Hazelnut</p>
            <p>4.00</p>
            <p>Mocha</p>
            <p>4.50</p>
          </article>
        </section>
      </main>
    </div>
  </body>
</html>
/* file: styles.Ext.css */
<!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>
            <p>French Vanilla</p>
            <p>3.00</p>
            <p>Caramel Macchiato</p>
            <p>3.75</p>
            <p>Pumpkin Spice</p>
            <p>3.50</p>
            <p>Hazelnut</p>
            <p>4.00</p>
            <p>Mocha</p>
            <p>4.50</p>
          </article>
        </section>
      </main>
    </div>
  </body>
</html>

Your mobile information:

iPhone - iOS17.1

Challenge: Learn Basic CSS by Building a Cafe Menu - Step 31

Link to the challenge:

Please try to talk about code and what trouble you are having. Communication is a critical programming skill, and the more you tell us the easier it is to help you!

Hi @Silentg393

The step wants you to nest each coffee name and its price inside an article element.

First, above the Caramel Macchiato paragraph element, add a closing article tag. This will replace the original one which is now above the closing section tag.

Then for each newly created coffee and price elements, nest them in article elements.

Happy coding