# Learn Basic CSS by Building a Cafe Menu - Step 12

**URL:** <https://forum.freecodecamp.org/t/learn-basic-css-by-building-a-cafe-menu-step-12/538796>\
**Category:** Curriculum Help\
**Tags:** css, html\
**Created:** [August 4, 2022, 5:52pm UTC](https://forum.freecodecamp.org/t/learn-basic-css-by-building-a-cafe-menu-step-12/538796 "2022-08-04T17:52:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amandajholds](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/amandajholds/32/240873_2.png) [@amandajholds](https://forum.freecodecamp.org/u/amandajholds)\
**Post date:** [August 4, 2022, 5:52pm UTC](https://forum.freecodecamp.org/t/learn-basic-css-by-building-a-cafe-menu-step-12/538796/1 "2022-08-04T17:52:01Z")

</div>

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

```html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <title>Cafe Menu</title>
  <style> h1[text-align: centre;]
  </style>
</head>
<body>
  <header>
    <h1>CAMPER CAFE</h1>
    <p>Est. 2020</p>
  </header>
  <main>
    <section>
      <h2>Coffee</h2>
    </section>
  </main>
</body>
</html>

```

```
  **Your browser information:**

```

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

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

**Link to the challenge:**

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-basic-css-by-building-a-cafe-menu/step-12)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![Sunithack1](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/sunithack1/32/17449_2.png) [@Sunithack1](https://forum.freecodecamp.org/u/Sunithack1)\
**Post date:** [August 4, 2022, 6:38pm UTC](https://forum.freecodecamp.org/t/learn-basic-css-by-building-a-cafe-menu-step-12/538796/2 "2022-08-04T18:38:08Z")

</div>

Hi @amandajholds ,

Use curly braces instead of square brackets to enclose style properties

---

<div class="post-metadata">

**Author:** ![amandajholds](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/amandajholds/32/240873_2.png) [@amandajholds](https://forum.freecodecamp.org/u/amandajholds)\
**Post date:** [August 4, 2022, 7:46pm UTC](https://forum.freecodecamp.org/t/learn-basic-css-by-building-a-cafe-menu-step-12/538796/3 "2022-08-04T19:46:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [February 3, 2023, 7:47am UTC](https://forum.freecodecamp.org/t/learn-basic-css-by-building-a-cafe-menu-step-12/538796/4 "2023-02-03T07:47:08Z")

</div>

Closed on February 3, 2023, 7:47am UTC

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