Learn Basic CSS by Building a Cafe Menu - Step 32

Tell us what’s happening:
I’m having trouble inserting the class, and every other post I see is saying the same thing. I’ve been stuck on this for a week.

**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>

<!-- User Editable Region -->

     <p class= flavor>French Vanilla</p>

<!-- User Editable Region -->

            <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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

Hi there and welcome to our community!

You are almost correct but the syntax for adding attributes is attribute="value". You should not have any spaces (you have one after the =), and you should have quotation marks around the value.


Thanks, but I solved it already. It was a mistake posting this. But thank you for this! I’ll keep this in mind later.

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