Learn Basic CSS by Building a Cafe Menu - Step 32

Tell us what’s happening:
Describe your issue in detail here.
This is my first post, and I’ve searched the forum (thoroughly ugh) but can’t solve my issue. I can’t for the life of me, figure out how to “Add the class name flavor to the French Vanilla p element.”
If I was to code similar to:

, as I’ve read in the forum, do I have to include the word ‘class’? I’ve tried:

<p flavor="French Vanilla"

flavor="French Vanilla"

class flavor="French Vanilla"


I fell like I’ve tried everything!
My example attempts above are not showing properly when I post this.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
    <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"/>
    <div class="menu">
        <h1>CAMPER CAFE</h1>
        <p>Est. 2020</p>
            <p>class flavor="French Vanilla"</p> <p>3.00</p>
            <p>Caramel Macchiato</p>
            <p>Pumpkin Spice</p>
/* file: styles.css */
body {
  background-image: url(https://cdn.freecodecamp.org/curriculum/css-cafe/beans.jpg);

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

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0

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

Link to the challenge:

This is how you write class. Put your class inside p element and make sure to write it correctly.

Yes you need to include the word class. In your p element include the attribute class and give it the value of flavor.

1 Like

I got it! I was getting confused because people kept referencing ‘div’ and I thought I had to include that. Thank you for your time!

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