Learn Basic CSS by Building a Cafe Menu - Step 31

Tell us what’s happening:
Hey, I’m on step 31 of the project, and I can’t figure out what i’m doing wrong?
I added all the values?
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>French Vanilla</p>
            <p>Caramel Macchiato</p>
            <p>Pumpkin Spice</p>

<!-- User Editable Region -->

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

(deleted my browser info because I don’t want to share that)

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

Link to the challenge:

You were supposed to create different article elements for the values. (Each article containing two p elements)

Soo… like this?

            <p>Caramel Macchiato</p><p>3.75</p>
            <p>Pumpkin Spice</p><p>3.50</p>

If you go back a step, you can see how the article element contained two p elements before.
They asked you to add more of them (article elements with their p elements inside)

1 Like

Thank you, I figured it out.

1 Like

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