Learn Basic CSS by Building a Cafe Menu - Step 31

Tell us what’s happening:
Describe your issue in detail here.

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>Pumpink 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;

Your browser information:

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

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

Link to the challenge:

i know must be something stupid… but i can not figure out…
Starting below the existing coffee/price pair, add the following coffee and prices using article elements with two nested p elements inside each. As before, the first p element’s text should contain the coffee flavor and the second p element’s text should contain the price.

Caramel Macchiato 3.75
Pumpkin Spice 3.50
Hazelnut 4.00
Mocha 4.50

You should have five ‘article’ elements with two nested ‘p’ elements in each of them:


that’s exactly what i did, but didn’t work

This is your code posted here:

I don’t see that you did as I had told you.

i have to add article in each one?

You were supposed to copy the article element and change the text of the paragraph.
So yes, you are missing all the new article elements.

still nothing, i really don’t understand

this is an article element from DobarBREND’s post

Do you see how it starts with an opening tag for article and ends with a closing tag for article?
Each time you add a new coffee flavor and price, you will need a new set of lines like this

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