Declare the Doctype of an HTML Document question

so i have been playing around with the code but can not seem to get this correct
tried editing with Sublime and it worked fine

Tell us what’s happening:

Your code so far


<!DOCTYPE html>
<html>
  <!-- Your HTML code goes here -->
  <h1>this is a test</h1>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 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

OOhhhh ok that makes sense why it didn’t work

THANKS