Learn HTML Forms by Building a Registration Form - Step 6

Tell us what’s happening:

is this code not right

Registration Form

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Registration Form</title>
    <link rel="stylesheet" href="styles.css" />
  </head>

<!-- User Editable Region -->

  <body> 
    <h1>  Registration  Form </h1>
   </body>

<!-- User Editable Region -->

</html>

Your browser information:

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

Challenge Information:

Learn HTML Forms by Building a Registration Form - Step 6

Hey @amanuel3, welcome to the community! :blush:

You’re very close! Just a small issue:

Lesson requirement:
“Add an <h1> element with the text Registration Form inside the <body>.”

Right now, your <h1> tag has extra spaces:

The lesson expects it without extra spaces. Try removing all spaces outside of the words Registration Form.

Try fixing this, and your code should pass! Let me know if you need help.

1 Like

Hi there and welcome to our community!

You should always be mindful of the use of spaces in your HTML elements:

You shouldn’t have spaces before or after this text. Also, you have an extra space in between the words.

1 Like