The style element... where do I put the <h1> for the menu project?

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

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

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.124 Safari/537.36 Edg/102.0.1245.44

Challenge: Step 12

Link to the challenge:


This doesn’t match the example:

element {
 property: value;

There is no <element, no >, and no </element> in the example.

then where do I put the h1? it keeps saying I need a h1 in the style element?

To style an element of type element, you make a CSS rule like

element {
 property: value;

so to style an element of type h1, you should have?

It was that easy?!?!?!?!?!?!??!?!?!?!??!?!?!?!??! AAAAAH.

Thank you! much appreciated!

1 Like

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