Learn Basic CSS by Building a Cafe Menu - Step 32

Tell us what’s happening:
well i don’t know how to add a class here

Your code so far

      <article>
        <p> French Vanilla</p>
        <p>3.00</p>
      </article>
      <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.00</p>
      </article>
      <article>
        <p>Mocha</p>
        <p>4.50</p>
      </article>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36

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

Link to the challenge:

actually you already added a class attribute before in this area of your code:

  <body>
    <div class="menu">
      <main>

Above you added a class attribute with the value set to “menu” to the div element.

Now you are being asked to add another class attribute, with a different value to a different element. But the steps are the same…

2 Likes

French Vanilla

3.00

this is where you need to put the class into the p element.