Learn Basic CSS by Building a Cafe Menu - Step 18

body{
backround-color:brown;
}
h1, h2, p {
text-align: center;
}
i don’t understand why this isn’t working. the tip say to set the backround color to brown.

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 */
body{
  backround-color:brown;
}
h1, h2, p {
  text-align: center;
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.5304.107 Safari/537.36

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

Link to the challenge:

you have typo error:-
background-color not backround-color

Thanks. silly mistake that can really do your head in.

yes of course.i was some times having the same issue when i started coding.

how long did it take for you to feel comfortable coding and think about applying for work?.

around 6 months to feel comfortable.it has taken me to much time to become were i am now ,because i was learning to code besides learning my degree program.i am still learning coding and did not apply for job,but after almost a month will be applying after finishing quality assurance and working some projects to show off.

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