# Step 52 Building a Cafe menu

**URL:** <https://forum.freecodecamp.org/t/step-52-building-a-cafe-menu/511543>\
**Category:** Curriculum Help\
**Tags:** css, html\
**Created:** [May 25, 2022, 1:02pm UTC](https://forum.freecodecamp.org/t/step-52-building-a-cafe-menu/511543 "2022-05-25T13:02:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kingsley097](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kingsley097/32/262255_2.png) [@kingsley097](https://forum.freecodecamp.org/u/kingsley097)\
**Post date:** [May 25, 2022, 1:02pm UTC](https://forum.freecodecamp.org/t/step-52-building-a-cafe-menu/511543/1 "2022-05-25T13:02:33Z")

</div>

I’m stuck with this step. I need help please.

```
  **Your code so far**

```

```html
\ file: <!DOCTYPE html>
<html>
<head>
  <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" />
</head>
<body>
  <div class="menu">
    <header>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
    </header>
    <main>
      <section>
        <h2>Coffee</h2>
        <article class="item">
          <p class="flavor">French Vanilla</p><p class="price">3.00</p>
        </article>
        <article class="item">
          <p class="flavor">Caramel Macchiato</p><p class="price">3.75</p>
        </article>
        <article class="item">
          <p class="flavor">Pumpkin Spice</p><p class="price">3.50</p>
        </article>
        <article class="item">
          <p class="flavor">Hazelnut</p><p class="price">4.00</p>
        </article>
        <article class="item">
          <p class="flavor">Mocha</p><p class="price">4.50</p>
        </article>
      </section>
      <section>
        <h2>Desserts</h2>
        <article class="item">
          <p class="dessert">Donut</p><p class="price">1.50</p>
        </article>
      </section>
    </main>
  </div>
</body>
<html>
<!DOCTYPE html>
<html>
<head>
  <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" />
</head>
<body>
  <div class="menu">
    <header>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
    </header>
    <main>
      <section>
        <h2>Coffee</h2>
        <article class="item">
          <p class="flavor">French Vanilla</p><p class="price">3.00</p>
        </article>
        <article class="item">
          <p class="flavor">Caramel Macchiato</p><p class="price">3.75</p>
        </article>
        <article class="item">
          <p class="flavor">Pumpkin Spice</p><p class="price">3.50</p>
        </article>
        <article class="item">
          <p class="flavor">Hazelnut</p><p class="price">4.00</p>
        </article>
        <article class="item">
          <p class="flavor">Mocha</p><p class="price">4.50</p>
        </article>
      </section>
      <section>
        <h2>Desserts</h2>
        <article class="item">
          <p class="dessert">Donut</p><p class="price">1.50</p>
        </article>
      </section>
    </main>
  </div>
</body>
<html>

```

```css
\ file: 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;
}

.item p {
display: inline-block;
}

.flavor {
text-align: left;
width: 75%;
}

.price {
text-align: right;
width: 25%
}
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;
}

.item p {
display: inline-block;
}

.flavor {
text-align: left;
width: 75%;
}

.price {
text-align: right;
width: 25%
}

```

```
  **Your browser information:**

```

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

**Challenge:** Step 52

**Link to the challenge:**

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-basic-css-by-building-a-cafe-menu/step-52)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![teo-08](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/teo-08/32/134100_2.png) [@teo-08](https://forum.freecodecamp.org/u/teo-08)\
**Post date:** [May 25, 2022, 1:08pm UTC](https://forum.freecodecamp.org/t/step-52-building-a-cafe-menu/511543/2 "2022-05-25T13:08:14Z")

</div>

hello. goto the CSS folder and at the class flavor just add a comma and the class dessert with a space between. it should look like this: .flavor, .dessert  
hope it helps

---

<div class="post-metadata">

**Author:** ![BossaTMarwaan](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/bossatmarwaan/32/261074_2.png) [@BossaTMarwaan](https://forum.freecodecamp.org/u/BossaTMarwaan)\
**Post date:** [May 27, 2022, 10:18pm UTC](https://forum.freecodecamp.org/t/step-52-building-a-cafe-menu/511543/3 "2022-05-27T22:18:29Z")

</div>

Thank You  
Teo-08 much appreciated 👍

---

<div class="post-metadata">

**Author:** ![MichellBelle](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/michellbelle/32/264034_2.png) [@MichellBelle](https://forum.freecodecamp.org/u/MichellBelle)\
**Post date:** [June 3, 2022, 7:41pm UTC](https://forum.freecodecamp.org/t/step-52-building-a-cafe-menu/511543/4 "2022-06-03T19:41:53Z")

</div>

I wish they would’ve specified that you need to add the comma in the instructions, i got stuck on the same thing and google wasn’t helpful 😂 🥲

---

<div class="post-metadata">

**Author:** ![teo-08](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/teo-08/32/134100_2.png) [@teo-08](https://forum.freecodecamp.org/u/teo-08)\
**Post date:** [June 7, 2022, 2:34pm UTC](https://forum.freecodecamp.org/t/step-52-building-a-cafe-menu/511543/5 "2022-06-07T14:34:01Z")

</div>

i think it’s mentioned somewhere but i also had trouble when facing it for the first time. 😅

---

<div class="post-metadata">

**Author:** ![damon5150davis](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/damon5150davis/32/274908_2.png) [@damon5150davis](https://forum.freecodecamp.org/u/damon5150davis)\
**Post date:** [August 4, 2022, 8:49am UTC](https://forum.freecodecamp.org/t/step-52-building-a-cafe-menu/511543/6 "2022-08-04T08:49:09Z")

</div>

they did in a previous lesson, I just looked but if you look at the, css h1, h2, p 🙂 I just didn’t think it would be used here so I rolled my eyes at myslef!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [February 2, 2023, 8:49pm UTC](https://forum.freecodecamp.org/t/step-52-building-a-cafe-menu/511543/7 "2023-02-02T20:49:52Z")

</div>

Closed on February 2, 2023, 8:49pm UTC

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