# Design a Cafe Menu - Step 48

**URL:** <https://forum.freecodecamp.org/t/design-a-cafe-menu-step-48/800415>\
**Category:** Curriculum Help\
**Tags:** html-css\
**Created:** [September 17, 2026, 11:41am UTC](https://forum.freecodecamp.org/t/design-a-cafe-menu-step-48/800415 "2026-09-17T11:41:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Addel](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@Addel](https://forum.freecodecamp.org/u/Addel)\
**Post date:** [September 17, 2026, 11:41am UTC](https://forum.freecodecamp.org/t/design-a-cafe-menu-step-48/800415/1 "2026-09-17T11:41:17Z")

</div>

### Tell us what’s happening:

Step 48:

- System keep reply with “you should not have any spaces between p elements” although there are no spaces.
- No spaces between class equal sign and calss name,  
Please advice.

NB:  
code:

Donut

1.50

Cherry Pie

2.75

Cheesecake

3.00

### Your code so far

```html
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">

<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" />
</head>

<body>
  <div class="menu">
    <main>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
      <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>
<!-- User Editable Region -->
        <article>
          <p class="dessert">Cherry Pie</p><p class="price">2.75</p>
          </article>
        <article>
          <p class="dessert">Cheesecake</p><p class="price">3.00</p>
          </article>
        <article>
          <p class="dessert">Cinnamon Roll</p><p class="price">2.50</p>
          </article>
<!-- User Editable Region -->
      </section>
    </main>
  </div>
</body>

</html>

```

```css
/* 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;
}

.item p {
  display: inline-block;
}

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

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

```

### Your browser information:

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

### Challenge Information:

Design a Cafe Menu - Step 48

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/responsive-web-design-v9/workshop-cafe-menu/step-48)**
>
> Learn to Code for Free

GitHub Link: [freeCodeCamp/curriculum/challenges/english/blocks/workshop-cafe-menu/5f716bee5838c354c728a7c5.md at main · freeCodeCamp/freeCodeCamp · GitHub](https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/english/blocks/workshop-cafe-menu/5f716bee5838c354c728a7c5.md)

---

<div class="post-metadata">

**Author:** ![dhess](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/dhess/32/406235_2.png) [@dhess](https://forum.freecodecamp.org/u/dhess)\
**Post date:** [September 17, 2026, 12:38pm UTC](https://forum.freecodecamp.org/t/design-a-cafe-menu-step-48/800415/2 "2026-09-17T12:38:12Z")

</div>

Welcome to the forum @Addel,

Please reset this step since you have changed the spacing between the` p` elements on all of the coffee items, which will cause the tests to fail.

Try again, being careful to only add the items asked in the instructions without changing any of the starting code.

Happy coding

---

<div class="post-metadata">

**Author:** ![Addel](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@Addel](https://forum.freecodecamp.org/u/Addel)\
**Post date:** [September 17, 2026, 3:11pm UTC](https://forum.freecodecamp.org/t/design-a-cafe-menu-step-48/800415/3 "2026-09-17T15:11:50Z")

</div>

dhess,

Thank you for your reply, But still same result.

---

<div class="post-metadata">

**Author:** ![dhess](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/dhess/32/406235_2.png) [@dhess](https://forum.freecodecamp.org/u/dhess)\
**Post date:** [September 17, 2026, 3:12pm UTC](https://forum.freecodecamp.org/t/design-a-cafe-menu-step-48/800415/4 "2026-09-17T15:12:56Z")

</div>

Please post your updated code formatted as follows:

There are two ways you can format your code to make it easier to read and test:

1. After you copy/paste your code into the editor, select it by dragging your cursor over it then click the (`</>`) button in the toolbar to automatically wrap your code in backticks. (You can click on the animated demo image below to enlarge it.)

 ![](https://global.discourse-cdn.com/freecodecamp/original/3X/1/b/1b18854f1059217f29370444396145cc3a0cd8ae.gif)

1. Manually add three backticks on a new line above your code and on a new line after your code. Note that a backtick is NOT the same as a single quote('). To find the backtick key on your keyboard, see [this post](https://forum.freecodecamp.org/t/forum-code-formatting/25574).

To see changes to your post as you make them, you can click the (`M+`) button on the toolbar to bring up the rich text editor:

 ![image](https://global.discourse-cdn.com/freecodecamp/original/4X/a/a/1/aa16828d97d1fd4a1aa0f864a850415f01dc9d2b.png)

---

<div class="post-metadata">

**Author:** ![Addel](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@Addel](https://forum.freecodecamp.org/u/Addel)\
**Post date:** [September 18, 2026, 1:01pm UTC](https://forum.freecodecamp.org/t/design-a-cafe-menu-step-48/800415/5 "2026-09-18T13:01:22Z")

</div>

```auto
 <article class="item">
          <p class="dessert">Donut</p><p class="price">1.50</p></article>
        <article class="item">
          <p class="dessert">Cherry Pie</p><p class="price">2.75</p></article>
        <article class="item">
          <p class="dessert">Cheesecake</p><p class="price">3.00</p></article>
        <article class="item">
          <p class="dessert">Cinnamon Roll</p><p class="price">2.50</p></article>

```

---

<div class="post-metadata">

**Author:** ![dhess](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/dhess/32/406235_2.png) [@dhess](https://forum.freecodecamp.org/u/dhess)\
**Post date:** [September 18, 2026, 1:03pm UTC](https://forum.freecodecamp.org/t/design-a-cafe-menu-step-48/800415/6 "2026-09-18T13:03:58Z")

</div>

Please post ALL of your code.

---

<div class="post-metadata">

**Author:** ![Addel](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@Addel](https://forum.freecodecamp.org/u/Addel)\
**Post date:** [September 18, 2026, 3:37pm UTC](https://forum.freecodecamp.org/t/design-a-cafe-menu-step-48/800415/7 "2026-09-18T15:37:23Z")

</div>

dhess,

Thanks for your help, solved

regards,

Addel

---

<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:** [September 20, 2026, 3:37pm UTC](https://forum.freecodecamp.org/t/design-a-cafe-menu-step-48/800415/8 "2026-09-20T15:37:36Z")

</div>

Closed on September 20, 2026, 3:37pm UTC

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