Survey Form - Build a Survey Form

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

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>

  <meta charset="utf-8" />
  <title>Survey Form</title>
  <link rel="stylesheet" href="styles.css" />

  <h1 id="title">freeCodeCamp Survey Form</h1>
  <p id="description">Thank you for taking the time to help us improve the platform</p>

  <form id="survey-form">
    <div><label id="name-label">Name <input id="name" type="name" required placeholder="Enter your name"></label></div>
    <div><label id="email-label">Email <input id="email" type="email" required placeholder="Enter your Email"></label>
    <div><label id="number-label">Age <input id="number" type="number" required min="1" max="10" placeholder="Age"></div>

      <p>Which option best describes your current role?</p>
      <select id="dropdown">
      <option>Select current role</option>
      <option>Full Time Job</option>
      <option>Full Time Learner</option>
      <option>Prefer not to say</option>

        <legend>Would you recommend freeCodeCamp to a friend?</legend>
        <div><input type="radio" name="definitely" value="definitely" >Definitely</input></div>
        <div><input type="radio" name="maybe" value="maybe">Maybe</input></div>
        <div><input type="radio" name="not-sure" value="not-sure">Not sure</input></div>

      What is your favorite feature of freeCodeCamp?
      <select id="dropdown">
      <option>Select an option</option>
      <option>Open Source</option>

        <legend>What would you like to see improved? (Check all that apply)</legend>
        <div><input type="checkbox" value="front-end">Front-end Projects</input></div>
        <div><input type="checkbox" value="back-end">Back-end Projects</input></div>
        <div><input type="checkbox" value="data-visualization">Data Visualization</input></div>
      <textarea placeholder="Enter your comment here..."></textarea>

      <input type="submit" id=submit>


/* 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/ Safari/537.36

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

:balloon: Hi, welcome to the forum!
We see you have posted some code but did you have a question?

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