Is step 21 in the basic CSS course busted?

This should be a pretty simple step. Add

tags inside . It keeps giving me the hint " Your div tag should be nested in the body". As you can see, it’s within the body. I even looked ahead at the next step out of exasperation and what I see there is what I’ve got. So either I’m missing something, or the step is busted.

  **Code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Cafe Menu</title>
  <link href="styles.css" rel="stylesheet"/>
</head>
<body>
  <div>
   <header>
     <h1>CAMPER CAFE</h1>
     <p>Est. 2020</p>
   </header>
   <main>
     <section>
       <h2>Coffee</h2>
     </section>
   </main>
  </div>
 </body>
</html>
/* file: styles.css */
body {
background-color: burlywood;
}

h1, h2, p {
text-align: center;
}
  **Your browser information:**

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

Challenge: Step 21

Link to the challenge:

HI @Numanera !

Welcome to the forum!

The code you have shared works on my end. Please ensure that you have disabled any extensions that interface with the freeCodeCamp website (such as Dark Mode and Ad Blocker), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

Thanks. Neither of those worked, but I eventually got it by turning off the handful of extensions I had going.

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