Learn Basic CSS by Building a Cafe Menu - Step 6

Tell us what’s :
i am stuck at step6, step 6 is The name of the cafe is CAMPER CAFE. Add an h1 element within your main element. Give it the name of the cafe in capitalized letters to make it stand out.
what am i doing wrong?
Apparently h1 element doesn’t have the text?! because the hint shows “Your h1 element should have the text CAMPER CAFE .”


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

    
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

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

Link to the challenge:

Remove all the extra spaces and the extra dot. The text should be exactly, letter for letter, what they asked for.

i tried that way too, i’m still getting the same error. what do i do now?

Are you sure you have removed all the extra spaces and the extra dot in the h1 as mentioned above?

yup, <h1>CAMPERCAFE</h1>
i wrote it this way and i’m still getting the same error

You need space between CAMPER and CAFE

oh okay, this worked now.
i had tried this before didn’t work, but now it did
thanks a lot

1 Like