Declaring doctype issue

Tell us what’s happening:
Describe your issue in detail here.
I think my code should be accepted BTW I am using chrome and even tried to use firefox still got the same issue
that it tells me The


tags should wrap around one



Your code so far

<!DOCTYPE html> 

<h1> MAX </h1>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36

Challenge: Declare the Doctype of an HTML Document

Link to the challenge:

Hello there @ahmedhassan, welcome to forum. You have a misspelled html in your closing tag above. Good luck.

1 Like

HI @ahmedhassan !
Welcome to the forum!

This doesn’t look right

Check your spelling. :grinning:

Spelling errors are pretty common, so it is always important to double check for them if a challenge is not passing.

Hope that helps!

that was not the issue however I tried to do it in incognito mode and it worked
IDK why and thanks for the fast response

I was able to pass the lesson without having to go into incognito mode.
Probably what happened was when you tried again you rewrote with the correct spellings so it passed :grinning:

Glad you were able to solve it :grinning:

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