Learn Basic CSS by Building a Cafe Menu - Step 11

Tell us what’s happening:
Describe your issue in detail here.
Can anyone help me with
Cafe menu step 11
Your code so far


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

Your mobile information:

SM-S901B - Android 14 - Android SDK 34

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!

Your style element should not have other HTML elements nested inside it.
First, move the meta and title elements above the opening style tag, so that you have an empty style element.

Then, inside the style element, you can write CSS code, using the example syntax given in the challenge description:

element {
 property: value;
}

In this case the element is h1, property is text-align and value is center.

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