Learn HTML Forms by Building a Registration Form - Step 29

Tell us what’s happening:

Keep getting the message, The second input element should have an id of business-account

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>
    <form method="post" action='https://register-demo.freecodecamp.org'>
      <fieldset>
        <label for="first-name">Enter Your First Name: <input id="first-name" type="text" required /></label>
        <label for="last-name">Enter Your Last Name: <input id="last-name" type="text" required /></label>
        <label for="email">Enter Your Email: <input id="email" type="email" required /></label>
        <label for="new-password">Create a New Password: <input id="new-password" type="password" pattern="[a-z0-5]{8,}" required /></label>
      </fieldset>

<!-- User Editable Region -->

      <fieldset>
        <legend>Account type (required)</legend>
        <label for="personal-account"><input id="personal-account"
        <label><input type="radio" name="account-type" checked /> Personal</label>
       <label for="business-account"><input id="business-account" <label><input type="radio" name="account-type" /> Business</label>
      </fieldset>

<!-- User Editable Region -->

      <fieldset></fieldset>
      <input type="submit" value="Submit" />
    </form>
  </body>
</html>
/* 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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15

Challenge Information:

Learn HTML Forms by Building a Registration Form - Step 29

Make sure you open: < and close: > all of your tags

When I make sure to add opening and closing tags I get the same message

Please show your updated code.

Not a “closing tag” but make sure each tag begins with < and ends with >

Hello @Thai4279 !

Please remove the following from both the person-account and the business account?

I think there may have been misunderstanding in how to add the id to the input with each account.

The following code, from previous steps, could be used as an example of how to correctly enter the id into the input elements.

Wishing you good progress on your coding journey. :slight_smile: