Can someone help .. i dont understand .. it says[ You should have five .flavor elements.]

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
  <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" type="text/css" />
  <div class="menu">
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
        <article class="item">
          <p class="flavor">French Vanilla</p><p class="price">3.00</p>
       <article class="item" >
         <p .flavor { French Vanilla; } .price { 3.00; }> French Vanilla</p><p>3.00</p>
        <article class="item" >
<p .flavor { Caramel Macchiato; } .price { 3.75; }> Caramel Macchiato</p><p>3.75 </p>
        <article class="item" class="Pumpkin Spice" class="3.50">
          <p .flavor { Pumpkin Spice; } .price{ 3.50; }>Pumpkin Spice</p><p>3.50</p>
        <article class="item" class="Hazelnut" class="4.00">
          <p .flavor { Hazelnut; } .price { 4.00; }>Hazelnut</p><p>4.00</p>
        <article class="item" class="Mocha" class="4.50">
          <p .flavor { Mocha; } .price { 4.50; }>Mocha</p><p>4.50</p>
/* file: styles.css */
body {
background-image: url(;

h1, h2, p {
text-align: center;

.menu {
width: 80%;
background-color: burlywood;
margin-left: auto;
margin-right: auto;

.item p {
display: inline-block;

.flavor {
text-align: left;
width: 50%;

.price {
text-align: right;
width: 50%;
  **Your browser information:**

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

Challenge: Step 45

Link to the challenge:

this is not how you add a class ,you should do it like this ,you can add multiple class names by simply seprate them with a space.

<p class= "flavor price"></p>

to your first p inside article add a class name flavor and to second p iside of article add a class name price
do the same thing in all you Articles

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