H1 selector in style element?

Tell us what’s happening:
its telling me to add an h1 selector to the style element

  **Your code so far**
<!DOCTYPE html>
  <meta charset="utf-8" />
  <title>Cafe Menu</title>
  <style element {
    property: text-align="center";
    <h1>CAMPER CAFE</h1>
    <p>Est. 2020</p>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14588.123.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Step 12

Link to the challenge:

1 Like

The code below is invalid.

You need to write CSS within the style element.
Should look like this:

    the-element-you-want-to-add-style-to {
        property: value;

You have to add the h2 element in the CSS style, which is in the head section.

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