Whaty's happening with my body selector

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

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
  <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" type="text/css" />
    <h1>CAMPER CAFE</h1>
    <p>Est. 2020</p>
/* file: styles.css */
<body background-color=brown h1, h2, p {
text-align: center;}

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0

Challenge: Step 19

Link to the challenge:


That isn’t the correct syntax for a CSS selector - it looks as if you’re trying to add html element tags to your CSS.

The format for a CSS selector is:

element {
 property: value;

Try resetting the step and then adding a CSS selector in the above format for the body element.

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