Learn HTML Forms by Building a Registration Form - Step 2

Tell us what’s happening:
Describe your issue in detail here.
I thought the html code is but kept receiving error msg:

Test: Sorry, your code does not pass. Hang in there.

Hint: Your html element should have a closing tag.

Please help! Thank you.

Your code so far


<!-- User Editable Region -->

<!DOCTYPE html>
<html lang="en">
  

<!-- 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/109.0.0.0 Safari/537.36

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

Link to the challenge:

Hey there! So basically whenever it is asking you for a closing tag it mean that you need to add an ending element after your opening element. In this case html. Every element needs a closing tag unless it is a self closing element.
an example of an opening element and closing tag:

Opening: <header>
Closing:</header>

Hope this helps. :slight_smile:

Ahh I figured it out thanks to your example.

Thank you so much Jesse! Finally got unstucked ^^

<!DOCTYPE html>
<html lang="en">
</html>
1 Like

you are very welcome

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