Learn Basic CSS by Building a Café Menu: CAMPER CAFE h1 element

Tell us what’s happening:
Hello, I am stuck on this step and have tried every possible solution to displaying “CAMPER CAFE” at the top of the preview. I believe I have the correct code. There is a single space separating the string CAMPER CAFE from the opening h1 element and no space before the closing h1 element.

I have arrived at what looks correct on the preview several times, even Googling the style attribute (style=“text-transform: uppercase;”) and adding that attribute to the h1 opening element but to no avail. I feel like I may be thinking too hard, but I have tried for days on this and have not reached a solution. Please assist! Thanks, -Jo

  **Your code so far**
<!DOCTYPE html>
<html>
<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/102.0.0.0 Safari/537.36

Challenge: Step 5

Link to the challenge:

You should do it like Mod Edit: SOLUTION REDACTED , to pass the level.

The way you did it is also correct, but the course wants you to teach you a clean way to write your code too.

Hope it helps

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