Can I get assistance from anyone?

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

the code seems not to be working even after adding input elements to the four labels

   **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html>
 <head>
   <title>Registration Form</title>
	  <link rel="stylesheet" type="text/css" href="styles.css" />
 </head>
 <body>
   <h1>Registration Form</h1>
   <p>Please fill out this form with the required information</p>
   <form action='https://register-demo.freecodecamp.org'>
     <fieldset>
       <label>Enter Your First Name: <input></label>
       <label>Enter Your First Name: <input></label>
       <label>Enter Your Last Name: <input></label>
       <label>Enter Your Email: <input></label>
       <label>Create a New Password: <input></label>
     </fieldset>
     <fieldset></fieldset>
     <fieldset></fieldset>
   </form>
 </body>
</html>
/* file: styles.css */
body {
 width: 100%;
 height: 100vh;
 margin: 0;
 background-color: #1b1b32;
	color: #f5f6f7;
}

label {
	display: block;
	margin: 0.5rem 0;
}

Challenge: Step 15

Link to the challenge:

Hello victor!
I looked into your code, and I think you forgot /
NB: <Input /> should end with a / because they are self-closing tags!
I hope that help

1 Like

You are running into a bug with the tests. The tests expect the inputs to have a forward slash at the end since they are self-closing tags (even though technically the forward slash is not required). So just add the forward slash at the end of each input tag and you’ll pass.

Also, you have added an extra “First Name” input. Get rid of that as well.

2 Likes

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