Learn HTML Forms by Building a Registration Form - Step 17

i dont know what i need to do to continue. it just says to nest 4 input elements in the label elements

<!-- 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 method="post" action='https://register-demo.freecodecamp.org'>
        <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>
/* 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; rv:109.0) Gecko/20100101 Firefox/109.0

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

Link to the challenge:

your code works for me
Can you reset and redo this challenge? (force the browser to reload after you click reset by pressing CTRL-F5 at the same time)

didnt work. it just reset the current stage, and when i put the code in it just says its wrong

this is the code that you have that I copied and worked for me.
Did you copy just these lines into place?

yes. i copy’d and pasted it, but it still doesnt work. and its still in the fieldset, i tried with and without

Please try the following possible options to see if one of them may help as you may be running into a browser issue:

  • Try the step in incognito or private mode.

or - Disable any/all extensions that interface with the freeCodeCamp website (such as Dark Mode, Ad Blockers, or Spellcheckers), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

or - Ensure your browser is up-to-date or try a different browser.

I hope one of these will work for you.

i tried in incognito on an up to date firefox browser and it keeps saying " You should add the third input after the label text Enter Your Email:, and include a space after the colon." even though i did

pls try the other methods as I mentioned that your code worked for me as-is.

it worked on a different browser.

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