Learn Basic CSS by Building a Cafe Menu - Step 11

Tell us what’s happening:
Describe your issue in detail here.
I don’t understand how to properly layout the style element ? I did as it said but I don’t know how to add a h1 selector ?

Your code so far

<!DOCTYPE html>
<html lang="en">
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
    <style=h1 property:text align value;centre></style>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>

Your mobile information:

iPad - iPadOS15.5

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

Link to the challenge:

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

you need to align the text by opening a new selector in the style and centering it

1 Like

To complete the last post, selectors are used to target a html element in order to style it using CSS.

To add a selector, simply use the format:
h1 {style;}

I hope it helped!

1 Like