Responsive Web Design Basic HTML and HTML5 Define the Head and Body of an HTML Document

I am trying to pass this challenge. I think there is an issue with the test cases
Challenge:
Edit the markup so there’s a head and a body . The head element should only include the title , and the body element should only include the h1 and p .

  **My code so far**

<!DOCTYPE html>
<html>
<head>
  <title>The best page ever</title>
 </head>
 <body>
<h1>The best page ever</h1>
<p>Cat ipsum dolor sit amet, jump launch to pounce upon little yarn mouse, bare fangs at toy run hide in litter box until treats are fed. Go into a room to decide you didn't want to be in there anyway. I like big cats and i can not lie kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff. Meow i could pee on this if i had the energy for slap owner's face at 5am until human fills food dish yet scamper. Knock dish off table head butt cant eat out of my own dish scratch the furniture. Make meme, make cute face. Sleep in the bathroom sink chase laser but pee in the shoe. Paw at your fat belly licks your face and eat grass, throw it back up kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
</body>                            
</html>

But I got these test results
// running tests
The head element should be a child of the html element.
The body element should be a child of the html element.
The head element should wrap around the title element.
The body element should wrap around both the h1 and p elements.
  **Your browser information:**

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

Challenge: Define the Head and Body of an HTML Document

Link to the challenge:

The answers are Correct. The test passes on my browser.

If you are using DARK MODE or NIGHT MODE extension , it might need to be disabled for the curriculum.

If it isn’t dark mode causing the issues, try deactivating any browser extension that has access to freecodecamp, add blockers etc, And try updating your browser to latest version or use a different, fully updated browser…

If none of these things work, try using a different Device to complete the lesson.

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