Learn Basic CSS by Building a Cafe Menu - Step 11

Tell us what’s happening:
I’m stuck on this. The code should be correct by any means, I even took a peek ahead into the next steps and compared to the pre-existing code there. It checks out. I even copy pasted it over to be sure. But it still won’t pass the test. I’m at a complete loss.

Your code so far

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

<!-- User Editable Region -->

    <style>
      h1 {
        text-align: center;
      }
    </style>

<!-- User Editable Region -->

  </head>
  <body>
    <main>
      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>
      <section>
        <h2>Coffee</h2>
      </section>
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0

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

Link to the challenge:

1 Like

Nothing wrong with your code.

There are various steps you can take to resolve this issue:

  1. Reset the lesson and then type the CSS code again.
  2. Hard-refresh the page with CTRL+F5 and try again.
  3. Disable any browser extensions, as they can interfere with the tests.
  4. Try a different browser.

NOTE:

Note: Some browser extensions, such as ad-blockers and dark mode extensions can interfere with the tests. If you face issues, we recommend disabling extensions that modify the content or layout of pages, while taking the course.

Thanks for your help. I ended up being afk for 5 minutes, came back and hit the check code button and suddenly it passed.

Also after running into the same problem again in the next step, I was able to confirm that Ghostery browser addon seems to be the cause of the issue.

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