Learn Basic CSS by Building a Cafe Menu - Step 6

Tell us what’s happening:
I am stuck at this step. I’ve been told to include the h1 tag within the main element and the h1 tag would contain the text CAMPER CAFE… That’s exactly what I did but still it’s showing error, saying that the h1 tag should have the text CAMPER CAFE.
Please help.

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8"/>
    <title>Cafe Menu</title>
  </head>
  <body>

<!-- User Editable Region -->

    <main>
      <h1>CAMPER CAFE.</h1>
    </main>

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 11; moto e40) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Mobile Safari/537.36

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

Link to the challenge:

The period at the end is not supposed to be in the h1.

1 Like

Thanks a lot. It worked.

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