Learn HTML Forms by Building a Registration Form - Step 16

Tell us what’s happening:
Describe your issue in detail here.

I’ve been told to add 4 input elements inside the fieldset, how do i go about it?
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 action='https://register-demo.freecodecamp.org'>
    <fieldset input: >
      <label>Enter Your First Name: </label> 
      <label>Enter Your Last Name: </label>
      <label>Enter Your Email: </label>
      <label>Create a New Password: </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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36 OPR/90.0.4480.54

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

Link to the challenge:

any time you see an exercise ask you for an element, you must create a standard HTML element with the provided name.
So if you are asked to create a body element for eg, you would write:
If you are asked to create a label element then it would be:
If you are asked to create a paragraph element then similarly it would be:

Given this information, do you see the pattern and can you then create an input element as requested? (Hint: input elements unlike the previous examples are self-closing tags)

1 Like

Thanks alot
I really appreciate.

My pleasure. Did you pass this challenge?

Yeah, but i’m stuck on the next step…

okay, don’t worry. First try to re-read the instructions then try to read the hints (the hints will show up if you click on Check My Code button). If that doesn’t help, click on the Ask For Help button and open a new forum topic to get more help.

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