Learn Basic CSS by Building a Cafe Menu - Step 19

Tell us what’s happening:
so on my css i am being asked to “change my backround color to brown” please help me

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"/>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
/* file: styles.css */
h1, h2, p {
  text-align: center;
} body {backround-color:brown}

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: Learn Basic CSS by Building a Cafe Menu - Step 19

Link to the challenge:

Hello there.

Please 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 information you give us, the more likely we are to be able to help.

Please ask us questions and interact with us instead of just pasting code and hoping we know what you are trying about. Thanks

I think you should do 2 things here.

  1. Embrace using your enter key.
    Try using it to put the word body on its own separate line, rather than smushing it after the previous code.
    so hopefully you will re-write your code to look like this:
h1, h2, p {
  text-align: center;
body {

Whew! that’s better! now look back up there and see how the text-align line is created? It has the name “text-align” then it has a colon : then it has the value center then it has a ; semi-colon at the end?

  1. Try to add a semi-colon to your background-color line. Hopefully that helps.

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