Can someone plz specify my mistakes?

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

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html>
<body>
  <h1 id="title">title</h1>
  <p id="description">description</p>
  <form id="survey-form">survey-form</form>
  <input id="name" type="text" placeholder="value"></input>
  <input id="email" type="email" placeholder="value"></input>
  <input id="number" type="number" min="8" max="20" placeholder="value"></input>
  <label id="name-label">name-label</label>
  <label id="email-label">email-label</label>
  <label id="number-label">number-label</label>
  <select id="dropdown"></select>
  <option></option>
  <option></option>
  <input type="radio" value="value" name="value">Close</input>
  <input type="radio" value="value" name="value">Open</input>
  <input type="checkbox" value="value"></input>
  <input type="checkbox" value="value"></input>
  <input id="submit" type="submit"></input>
  <textarea></textarea>
</body>
</html>
/* file: styles.css */

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Challenge: Build a Survey Form

Link to the challenge:

Hi @Jla ,

This is your form now :

You have no elements in there.
The closing form tag should not be there, so where do you think it should be?


input elements are self-closing elements, so they don’t need a closing tag.


The name and email should require input.

So you are missing something in both inputs.


Something is wrong here, you need to fix it:

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