Learn Basic CSS by Building a Cafe Menu - Step 58

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, h2, p {
  text-align: center;
font-family: impact;
}

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



.item p {
  display: inline-block;
}

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

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

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

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



.item p {
  display: inline-block;
}

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

.price {
  text-align: right;
  width: 25%
}
h1, h2 {font-family: impact;}

Your mobile information:

M2006C3LII - Android 10 - Android SDK 29

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

Link to the challenge:

You have to style only the h1 and h2 elements with the Impact font while keeping the rest of the text in a different font (e.g., sans-serif), you can use a different selector for the h1 and h2 elements.And the font style is Impact with a bigg I not small i. Hope this helps…

2 Likes

it worked, thank you very much

2 Likes

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