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.
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
2 Likes
Fahim05
October 20, 2023, 11:24am
3
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
Fahim05
October 20, 2023, 11:21am
5
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:
Learn to Code — For Free
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
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
system
Closed
April 22, 2024, 5:52am
10
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.