Step 2 is telling me im incorrect

Tell us what’s happening:
Describe your issue in detail here.
It wont let me proceed as it says the head and body need to be siblings of each other

  **Your code so far**
<!DOCTYPE html>
<html>
   <head>
   </head>
  <body>
  </body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:101.0) Gecko/20100101 Firefox/101.0

Challenge: Step 2

Link to the challenge:

HI @civic-coder-guy !

Welcome to the forum!

Your spacing is a little bit off.
So you could try to align the head and body elements so they align better.

But when I pasted your code into the challenge it passed for me.

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.

Or try another browser.

It was the dark mode extension that was creating the issue. Thank you for setting me right.

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