Add the class name flavor to the French Vanilla p element

Tell us what’s happening:
Describe your issue in detail here.
The flavors and prices are currently stacked on top of each other and centered with their respective p elements. It would be nice if the flavor was on the left and the price was on the right.

Add the class name flavor to the French Vanilla p element.

how to solve this i am new tried every code it’s saying wrong
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>
          <p>French Vanilla </p>
          <p>Caramel Macchiato</p>
          <p>Pumpkin Spice</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;

Hey, I had the same issue too. You need to add the class and id without any spaces. So just a space after p, and then class=“flavor” should do the trick. It’s a bit awkward.


thanks this was really helpful

hi there can you help with my one so

French vanilla

should I do

<p class="flavor"French vanilla

even when I do that its stil saying am wrong
1 Like

or <p what should I be using

French Vanilla

1 Like