Camper cafe step 41

please guys i need help on this: after making the p elements containing french vanilla and price 3.00 on the same line and creating a spce between them as instructed yet i keep getting error message ‘your p elements should not have spaces between them’

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
  <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" />
  <div class="menu">
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
        <article class="item">
          <p class="flavor">French Vanilla</p>
          <p class="price">3.00</p>
          <p>Caramel Macchiato</p>
          <p>Pumpkin Spice</p>
/* file: styles.css */
body {
background-image: url(;

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: 49%;

.price {
text-align: right;
  **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: Step 41

Link to the challenge:

all of these p tags should be on the same line without spaces between them

thanks my friend, it worked.

that’s great it work happy coding :grin:

1 Like

hi bro, solution for this problem “Your p elements should not have any space between them” just move tag

from here

<class="flavor">French Vanilla</p>
<p class="price">3.00</p>

<class="flavor">French Vanilla</p><p class="price">3.00</p>

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