Learn Basic CSS by Building a Cafe Menu - Step 11

Tell us what’s happening:
i know this lesson is the topic of several forum posts already, but i’m stuck. i’m pretty sure the code is correct but my code tests keep failing. (“Hint: You should have an h1 selector in your style element.” but i do?)
what am i missing?

Your code so far

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

<!-- User Editable Region -->

    h1 {
      text-align: center;

<!-- User Editable Region -->

      <h1>CAMPER CAFE</h1>
      <p>Est. 2020</p>

Your browser information:

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

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

Link to the challenge:

Ya, your code is good. I’m guessing you have a browser extension installed that is adding extra style elements behind the scenes and that is confusing the tests. If you are using a dark mode extension then that is probably the cause. You can either start disabling extensions until you find the one that is causing the problem or switch to a different “clean” browser with no extensions.

thank you so much! i’m not using a dark mode extension but i’ve switched browsers anyway and it worked :slight_smile:

1 Like

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