Learn HTML Forms by Building a Registration Form - Step 15

Tell us what’s happening:

my code is right but its not passing please help me

Your code so far

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

<!-- User Editable Region -->

  
    <fieldset>
      <label for="first-name">Enter Your First Name:</label>
<input type="text" id="first-name" name="first-name">

<label for="last-name">Enter Your Last Name:</label>
<input type="text" id="last-name" name="last-name">

<label for="email">Enter Your Email:</label>
<input type="email" id="email" name="email">

<label for="password">Create a New Password:</label>
<input type="password" id="password" name="password">

      
    </fieldset>
  
  </form>
</body>
</html>

<!-- User Editable Region -->

/* file: styles.css */
body {
  width: 100%;
  height: 100vh;
  margin: 0;
  background-color: #1b1b32;
  color: #f5f6f7;
}

Your browser information:

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

Challenge Information:

Learn HTML Forms by Building a Registration Form - Step 15

no, you added more than what was asked, so your code is not correct
this step doesn’t want input elements

1 Like