Survey Form - Build a Survey Form

Tell us what’s happening:
Describe your issue in detail here.
where is the problem here?
Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html>
  <head>
    <title>Survey Form</title>
    <meta charset="utf-8">
    <link rel="stylesheet" href="styles.css">
  </head>
  <body>
    <h1 id="title">Survey Form</h1>
    <p id="description">Thank you for taking the time to help us improve the platform</p>
  <fieldset>
    <form id="survey-form">
    <label id="name-label">Name      <input id="name" type="name" placeholder="enter your name" required/></label></form>
    <form id="survey-form">
    <label id="email-label">Email<input id="email" type="email" placeholder="enter your email" required></label></form>
    <form id="survey-form">
    <label id="number-label">Age<input id="number" type="number"placeholder="age" min="18" max="60" required></label></form>
   </fieldset> 
<fieldset>
    <form id="survey-form">Which option best describes your current role?
    <select id="dropdown">
      <option>(select current role)</option>
      <option>Student</option>
      <option>Full-time job</option>
      <option>Other</option>
    </select>
    </form>
    <form>Are you new here?
      <label id="survey-form"><input type="radio" value="yes" name="new-here"> Yes </label> 
      <label id="survey-form" ><input type="radio" value="no" name="new-here"> No </label> 
    </form>
    <form>What is your favorite feature of freeCodeCamp?
      <label id="survey-form">Font-end Project<input type="checkbox" value="font-end"></label> 
      <label id="survey-form">Back-end Project<input type="checkbox" value="back-end" ></label>
      <label id="survey-form">Challenges<input type="checkbox" value="challenges"></label> 
      <label id="survey-form">
      <textarea id="survey-form"></textarea>
      </label>
 </fieldset>   
 <input id="submit" type="submit" value="Submit" />
 </form>
  </body>
  <html/>
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; rv:109.0) Gecko/20100101 Firefox/115.0

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

1 Like

Hello!

Here is an article on how to use the Form Element. It may help you correct the problem with your Survey Form.

Happy coding! :slight_smile:

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