Learn HTML Forms by Building a Registration Form - Step 14

Tell us what’s happening:
I added 4 label elements in the first fieldset, and the last two fieldsets are empty. But it keeps tell me " The last two fieldset elements should be empty." I don’t know what went wrong.
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>
    <h1>Registration Form</h1>
    <p>Please fill out this form with the required information</p>

<!-- User Editable Region -->

    <form method="post" action='https://register-demo.freecodecamp.org'>
      <fieldset>
        <label></label>
        <label></label>
        <label></label>
        <label></label>
      </fieldset>
      <fieldset></fieldset>
      <fieldset></fieldset>
    </form>

<!-- User Editable Region -->

  </body>
</html>
/* 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; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36

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

Link to the challenge:

Ya, your code looks right to me. I copied and pasted it into step 14 and it passed for me.

Try resetting the step. And then hold down the shift key while clicking the reload page button in order to clear the cache. If that doesn’t work can you try a different browser?

I suppose there could be a browser extension installed that is interfering with the tests, but it doesn’t seem likely for this particular step.

Thank you so much! I change a different browser, and it works!

1 Like