Can't find the solution need help

Tell us what’s happening:
Have try several code but still obterning this << 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. // tests completed

Your code so far


<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>My test page</title>
</head>
<body>
  <p>This is my page</p>
</body>
</html>

Your browser information:

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

Challenge: Define the Head and Body of an HTML Document

Link to the challenge:

Hey there,

nice to meet you! :wave:

As you can see, there is no h1 in your code.

my new code but still having the same

<html>
<head>
<meta charset="utf-8">
<title>My test page</title>
</head>
<body>
<h1> the best page</h1>
<p>This is my page</p>
</body>
</html>

this is the problem i am facing:

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.

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 (’).

try removing this :thinking:

done already but nothing have change

<!DOCTYPE html>
<html>
  <head>
    <title>My test page</title>
  </head>
  <body>
    <h1> the best page</h1>
    <p>This is my page</p>
  </body>
</html>

Ok, please try putting a link to your challenge using the get help area.

as I already said above, to show your code you need to format it using the backticks

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 (’).