Learn HTML Forms by Building a Registration Form - Step 17

Tell us what’s happening:
I am stuck on this step. I am required to add input elements after the label text including a space after the colons. The code I have written is not acceptable and the only hint I am given is that I should add the input after the label text and include a space after the colon. I am under the impression that is what I have done here. Could use some guidance thanks. The other forum posts for step 17 I think are for the legacy responsive web design as they show a different step than the one I am on so making my own post 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 method="post" action='https://register-demo.freecodecamp.org'>
        <label>Enter Your First Name: <input></input></label>
        <label>Enter Your Last Name: <input></input></label>
        <label>Enter Your Email: <input></input></label>
        <label>Create a New Password: <input><</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:106.0) Gecko/20100101 Firefox/106.0

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

Link to the challenge:

please note that input is self-closing so you need to remove all the input closing tags.
Also watch out for the angled bracket placement around the label element

        <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>

Thanks for catching the extra bracket. Here is the updated code. It is still failing the test.

Your solution works from my end. Please try one of the following steps to move forward.

Click on the “Restart Step” button and force a refresh of your page with CTRL + F5 then try to paste the code in again.

or - 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.

Restarting and force refresh did not work but I was able to get it to work in a private window.

Thanks for your help!

1 Like

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