Learn Basic CSS by Building a Cafe Menu - Step 18

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

the hint states that I should set the background-color to brown?
I work on MacBook and when I type brown there like I have now it shows a brown square witch I cannot remove. Could this be the problem and if I t is how can I change it?

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <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"/>
  </head>
  <body>
    <main>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
      <section>
        <h2>Coffee</h2>
      </section>
    </main>
  </body>
</html>
/* file: styles.css */
h1, h2, p {
  text-align: center;
}
body {
  background-colour: brown;
}

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15

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

Link to the challenge:

why do you think it is a problem?

Hi friend, if you meant the brown square before the word “brown”, then that is actually normal. It’s just a preview of the color you inputted. However, if you meant you’re having a problem with the code, I suggest you check your spelling:

1 Like

That was an awesome guess! I couldn’t figure out what the brown square comment meant at all.

Yeah thanks, I guess it helps to see these things from a similar newbie perspective.

1 Like

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