Learn Basic CSS by Building a Cafe Menu - Step 19

where did i go wrong? it is asking 4 a body selector
kindly help:<

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

  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64) 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:

hi there,
a body selector in your css-style-sheet is needed. It can be created just like any other selector.
The then added background-color will turn the whole body to brown, if set like that…
By now your css has got a multiple selector for h1,h2,p. , only.
Create an own-standing one for the body with a background-color rule.

but where do i put it?

In another line.
just how you put your h1,h2,p {
Your body selector is just like this :
body {

oh yay it worked
ty and have a great day:>

1 Like

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