Learn HTML Forms by Building a Registration Form - Step 1

Tell us what’s happening:
Whats the issue with what ive done?

Your code so far


<!-- User Editable Region -->

<html>


<!-- User Editable Region -->

Your browser information:

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

Challenge: Learn HTML Forms by Building a Registration Form - Step 1

Link to the challenge:

Welcome to the Registration Form project! Start by adding the !DOCTYPE html declaration at the top of the document so the browser knows what type of document it’s reading.

You have added a single opening html tag, not a DOCTYPE declaration.

2 Likes

I added !DOCTYPE as well and it didnt work isit something like…

1 Like

Hello @Fahim05!

I think it may be easier if you just copy and paste it from the instructions.

" Add the <!DOCTYPE html> tag, and an html element with a lang attribute of en."

And, it is important to remember the htlm element below the with an opening and closing tag.
Example:
<p> </p>

I hope this helps you continue on your coding journey.

2 Likes

Tell us what’s happening:
Not sure what Im doing wrong?

Your code so far


<!-- User Editable Region -->

DOCTYPE

  


<!-- User Editable Region -->

Your browser information:

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

Challenge: Learn HTML Forms by Building a Registration Form - Step 1

Link to the challenge:

There is a syntax for declaring your doctype attribute:
Ex:

<!DOCTYPE = "">

Your doctype attribute should have the value of html so the browser knows what type of file he is dealing with.
Hope this helps!

1 Like

...

Tried it didnt work…

For this first step, you should only add a single line of code - the DOCTYPE declaration.
Look at the link which I posted above, which will show you exactly how this should look.
You should not be adding an html element or any other code in this first step.

1 Like

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