Learn Basic CSS by Building a Cafe Menu - Step 68

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

Your code so far

/* file: index.Ext.html */
body {
  background-image: url(https://cdn.freecodecamp.org/curriculum/css-cafe/beans.jpg);
  font-family: sans-serif;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 30px;
}

.established {
  font-style: italic;
}

h1, h2, p {
  text-align: center;
}

.menu {
  width: 80%;
  background-color: burlywood;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  max-width: 500px;
}

hr {
  height: 3px
}

.hr{ background-color: brown
}

h1, h2 {
  font-family: Impact, serif;
}

.item p {
  display: inline-block;
}

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

.price {
  text-align: right;
  width: 25%
}
/* file: styles.Ext.css */
body {
  background-image: url(https://cdn.freecodecamp.org/curriculum/css-cafe/beans.jpg);
  font-family: sans-serif;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 30px;
}

.established {
  font-style: italic;
}

h1, h2, p {
  text-align: center;
}

.menu {
  width: 80%;
  background-color: burlywood;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  max-width: 500px;
}

hr {
  height: 3px
}

.hr{ background-color: brown
}

h1, h2 {
  font-family: Impact, serif;
}

.item p {
  display: inline-block;
}

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

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

Your mobile information:

SM-A307FN - Android 11 - Android SDK 30

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

Link to the challenge:

No idea what i’m doing wrong

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Welcome to the forum @Crowmaskguy


hr {
  height: 3px
}

.hr{ background-color: brown
}

Some of the styling properties are not correctly syntaxed.

  1. After brown add a semicolon
  2. Delete .hr { and move the background-color so that it is below height and are targeted by a single hr selector.
    BTW, css element names are not preceded by a dot, only class names are.
  3. Add a semi colon after3px

Happy coding

1 Like

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