How to select h1 element to the style property

Tell us what’s happening:
Describe your issue in detail How to align the property value to my style element .

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Cafe Menu</title>
    <style {CAMPER CAFE:center;}>
    </style>
  </head>
  <body>
    <main>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
      <section>
        <h2>Coffee</h2>
      </section>
    </main>
  </body>
</html>

Your mobile information:

TECNO CG6 - Android 12 - Android SDK 31

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!

Hi @princedadaug,

It should look something like this format:

<style>
  selector {
    property: value;
  }
</style>
1 Like