Code seems correct but giving an error

<!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>

Errors shown are:
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.

Can anyone suggest what is incorrect?

Hi, Horus, can you post a link to the challenge in which you’re having trouble? The text you’ve copied here doesn’t give me enough to go on.

sorry, i am new to freecodecamp and may not be giving the right info

this is the link giving the issue
learn/responsive-web-design/basic-html-and-html5/define-the-head-and-body-of-an-html-document

Can you post what code you are trying?

Hello, this is the code

The best page ever

The best page ever

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.

if i paste in the code, the result is displayed in the post. How am i suppose to post the code? Can you please guide me?

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Hey man , Wellcome Honus !!!
Well, you would have to put three tags in the exercise , and , because of the log error you did not place these tags or did not place them correctly.
I recommend that you see this page https://www.w3schools.com/html/default.asp is an HTML introduction.

Thanks much Arieleslie. That helps. My code is as below. Seems okay to me but does not work

<!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>

are you on Safari? if yes, the challenge can’t be completed. just go forward manually or try with an other browser

I am trying in Microsoft Edge

I tried in Chrome and the same code worked. Thanks for the help from all!
Appreciate it!

You might want to check on whether your Edge needs to be updated. You could be on an old version.