Declare the Doctype of an HTML Doc

Declare the Doctype of an HTML Doc
0.0 0

#1

Tell us what’s happening:

Your code so far


<!DOCTYPE html>
<html>
<!-- Your HTML code goes here -->
<h1>hello how r u</h1>
</html>

what is wrong in the below code> ? pls help

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/declare-the-doctype-of-an-html-document


#2

Just remove the comment and you’ll be fine :slightly_smiling_face:


#3

Thanks a lot it worked :smile: