Learn HTML Forms by Building a Registration Form - Step 15

can anyone help me , I don’t know what happened or what should I do !!


“You should add the first input after the label text Enter Your First Name:, and include a space after the colon.'”

   **Your code so far**
/* file: index.html */
<!DOCTYPE html>
   <title>Registration Form</title>
	  <link rel="stylesheet" href="styles.css" />
   <h1>Registration Form</h1>
   <p>Please fill out this form with the required information</p>
   <form action='https://register-demo.freecodecamp.org'>
       <label>Enter Your First Name: <input  typ : " text"></label>  

       <label>Enter Your Last Name: <input typ : " text"></label>

       <label>Enter Your Email: <input typ : " text"></label>

       <label>Create a New Password: <input typ : " text"></label>
/* file: styles.css */
body {
 width: 100%;
 height: 100vh;
 margin: 0;
 background-color: #1b1b32;
	color: #f5f6f7;

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

   **Your browser information:**

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

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

Link to the challenge:

First, you aren’t adding the type attribute to the inputs correctly, so they aren’t going to pass even if that is what you were supposed to do. But it isn’t. The only thing you want to do is add an input element in each label with no attributes, just the plain input.

Also, some of those inputs aren’t actually going to use the type of text as you will see in the following steps.

1 Like

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