Learn Basic CSS by Building a Cafe Menu - Step 12

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

CSS has just been thrown at me and I can’t see what I’ve done wrong. My hint says “you should have an h1 selector in your style element” Please someone help to explain how I haven’t done it right. Thanks in advance.
Your code so far

<!DOCTYPE html>
<html lang="en">
  <meta charset="utf-8" />
  <title>Cafe Menu</title>
  <style> h1[text-align: centre;]
    <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/ Safari/537.36

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

Link to the challenge:

Hi @amandajholds ,

Use curly braces instead of square brackets to enclose style properties

Thank you so much it worked the devil really is in the detail. I appreciate you taking the time to answer, you’re awesome!

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