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.
See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor ( </> ) will also add backticks around text.
The <title> element is a reserved element that comes before the <body> element. It would be found in the <head>. You’re trying to use an element in a way that is not within standards. If you put in a valid element the test will pass.