Learn HTML Forms by Building a Registration Form - Step 16

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

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
  <meta charset="UTF-8">
  <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 type="text">Enter Your First Name: <input type="text"> </label> 
      <label type="text">Enter Your Last Name: <input type="text"> </label> 
      <label type="email">Enter Your Email: <input type="text"> </label> 
      <label type="password">Create a New Password: <input type="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 16

Link to the challenge:

Hello! Can you describe what you need help with?

am facing issues with step 16 in registration form. Could u help me to solve this issue…

First thing to do is to restart the exercise. (Click on Restart Step button)
It looks like you edited the label starting tag but you were not required to do so.

Instead you were asked to add an input element “nested inside” the label element.

So you would need to touch only the area between the label start and end tags.

For the input tags, make sure you do not add any extra code to them (such as the type attribute) as it was not requested here.

thanks for your guide…

1 Like

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