PLZ HELP! Level 13 of learning basic CSS html

Here’s the code so far

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

What exactly is your question?


I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Hi @edeitz ,

You should only have one opening style tag and one closing style tag :

<style>
   /* All styles should go here ... */
</style>

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