Survey Form

mail@pastecode.io avatar
unknown
html
2 years ago
1.4 kB
2
Indexable
Never
<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'>
  <label id='name-label' for='name'>Name</label>
  <input type='text' id='name' required placeholder='Enter your name'>
  <label id='email-label' for='email'>Email</label>
  <input type='email' id='email' pattern=".+@globex\.com" required placeholder='Enter your email'>
  <label id='number-label' for='number'>Number</label>
  <input type='number' id='number' placeholder='Age' min='10' max='99'>
  <select id='dropdown'>
    <option disabled selected>Select an option</option>
    <option value='challenges'>Challenges</options>
    <option value='projects'>Projects</options>
    <option value='community'>Community</options>
    <option value='openSource'>Open Source</options>
  </select>
  <input type='radio' name='user-recommend' value='definitely'>Definitely
  <input type='radio' name='user-recommend' value='maybe'>Maybe
  <input type='radio' name='user-recommend' value='not-sure'>Not sure
  <input type='checkbox' value='1'>1
  <input type='checkbox' value='2'>2
  <input type='checkbox' value='3'>3
  <input type='checkbox' value='4'>4
  <textarea placeholder='Enter your comment here...'></textarea>
  <button type='submit' id='submit'>Submit</button>
</form>