Learn Basic CSS by Building a Cafe Menu - Step 11

*Tell us what’s happening:
Please does any one know how I can add the h1 element within the style element.

Your code so far

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

Your mobile information:

iPhone - iOS16.3.1

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

Link to the challenge:

Welcome to ffc forum. You modified your code. Reset your challenge and add h1 selector between the style opening and closing tags .

Example

<style>
tag {property: value;}
</style>

Replace it with actually required tag, property and value.

You need to write h1 instead of <h1>

Also, you shouldn’t have closing HTML tags in this area

You don’t need bracket around tags and closing tags, you are styling it.
@Dumbuldoras

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