Learn Basic CSS by Building a Cafe Menu - Step 5

Tell us what’s happening:
Describe your issue in detail here.
Hello ALL.
I am currently confused as i am under the impression that i am inputting the code correctly but i keep getting that my code does not pass. What am i doing wrong ?

Your code so far

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

Your browser information:

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

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

Link to the challenge:

just remove the extra spaces inside the tag and it will work

I am embarrassed but again thank you

Your code would have been fine in real life application. But on fCC everything has to be exact to pass the test.
Although, I read that extra spaces can slow down the browser, so you want to use only enough spaces to keep your code indented and readable, no more than that for large websites.

1 Like

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