What's going with it?.. Tried it but still showing error

Tell us what’s happening:
Describe your issue in detail here.

   **Your code so far**

<DOCTYPE html!>
<hi> A good man</hi>
<html><hi</html>
   **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 8.0.0; SM-G935F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.210 Mobile Safari/537.36.

Challenge: Declare the Doctype of an HTML Document

Link to the challenge:

Hi @joshadigs007 !

Welcome to the forum!

There are a few syntax errors with your code so I would reset the lesson.

After you reset the lesson then refer back to the FCC sample.

<!DOCTYPE html>
<html>

</html>

You can just copy that and add it to your code.

Inside the html tags you will place your <h1> tags.
Not <hi> tags.

Hope that helps!

Also,

If you are using a mobile device, the default keyboard does not always play well with the freeCodeCamp editor. I recommend you read the article on using a mobile device to view some tips - most importantly, check out the coding keyboards listed as they interface with the editor well.

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