Learn Basic CSS by Building a Cafe Menu - Step 11

Tell us what’s happening:
Im having trouble placing the h1 in the style element, and cant figure out if it needs to be nested inbetween the 2 styles or just use h1 to start, thanks for anyone who has helped me out with previous question, to the devs who potentially see this its a great app:)

Your code so far

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

Your mobile information:

SM-S931U - Android 15 - Android SDK 35

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 @Mitchell1

Have another look at the example code.

You do not include HTML code when writing CSS code.

Follow the syntax of the example pseudo code.
Replace each part with the code given in the instructions.
Do not include quote marks.

Happy coding

1 Like