Learn Basic CSS by Building a Cafe Menu - Step 89: stuck here. Help would be greatly appreciated

Tell us what’s happening:

Hi everyone,

I’ve got stuck here, in the step 89 off the Cooffee App.

I’ve already reviewed my code many times and can’t find what’s wrong with my code, as follow bellow.

If someone could take a glance and tell me where’s the error, please be in touch.

Help would be greatly appreciated.

Many thanks in advance.

Warm regards.

Your code so far

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your mobile information:

SM-G935V - Android 8.0.0 - Android SDK 26

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

Link to the challenge:

Hi there! You forgot to share your code

Tell us what’s happening:

Hi, everyone

I’ve got stuck here, in the step 89 of the Coffee app.

I’ve already reviewed my code many times and can’t find what’s wrong with it.

If someone could take a glance at my code, that follows bellow, and tell me where I commiting a mistake I will be thankful.

Many thanks in advance and looking forward to hear a feedback about 5his matter.

Warm regards.

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;
  padding: 20px;
}

h1 {
  font-size: 40px;
  margin-top: 0;
  margin-bottom: 15px;
}

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

.block{
  margin-left: auto;
  margin-right: auto;
}

hr {
  height: 2px;
  background-color: brown;
  border-color: brown;
}

.bottom-line {
  margin-top: 25px;
}

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

.item p {
  display: inline-block;
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 18px;
}

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

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

/* FOOTER */

footer {
  font-size: 14px;
}

.address {
  margin-bottom: 5px;
}

a {
  color: black;
}

a:visited {
  color: black;
}

a:hover {
  color: brown;
}

a:active {
  color: brown;
}
/* file: styles.Ext.css */
body {
  background-image: url(https://cdn.freecodecamp.org/curriculum/css-cafe/beans.jpg);
  font-family: sans-serif;
  padding: 20px;
}

h1 {
  font-size: 40px;
  margin-top: 0;
  margin-bottom: 15px;
}

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

.block{
  margin-left: auto;
  margin-right: auto;
}

hr {
  height: 2px;
  background-color: brown;
  border-color: brown;
}

.bottom-line {
  margin-top: 25px;
}

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

.item p {
  display: inline-block;
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 18px;
}

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

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

/* FOOTER */

footer {
  font-size: 14px;
}

.address {
  margin-bottom: 5px;
}

a {
  color: black;
}

a:visited {
  color: black;
}

a:hover {
  color: brown;
}

a:active {
  color: brown;
}

Your mobile information:

SM-G935V - Android 8.0.0 - Android SDK 26

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

Link to the challenge:

Hi,
you should give the style to an img selector. Right know it seems like there is a class called block. But the selector should be img not .block. you should set the display to block in your img selector. The rest is ok.
Hope this helps.

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