Survey Form - Build a Survey Form

Tell us what’s happening:

My code stopped previewing as i got to the adding the checkboxes please help

Your code so far

<!-- file: index.html -->
<Doctype html>
  <html lang="en">
    <head>
      <meta charset="UTF-8">
    <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">
  <label id="name-label" >Name<input id="name" type="text"required placeholder="Enter your name"  > </label> <br>
  <label id="email-label" >Email<input id="email" name="email" type="email" placeholder="Enter your email" required ></label> <br>
  <label id="number-label" >Age (optional) <input id="number" type="number" min="13" max="120" placeholder="Enter your number">
 
  <p>Which option best descibes your current role? </p>
  <label for="dropdown"></label> <select id ="dropdown" 
name="current-roles" type="radio" >

    <option value="Select your role">Select your current role</option>
    <option value="Student">Student</option> 
    <option value="Full Time Job">Full Time Job</option>
    <option value="Full Time learner">Full Time learner</option>
    <option value="Prefer Not To Say">Prefer not to say</option>
    <option value="Other">Other</option>
    </select> <br>
   
    <br>

    <label for="button">Would you recommend freeCodeCamp to a friend <label><br>

 <input type="radio" value="Definetely" name="Definetely">Definetely<br>
<input type="radio" name="Maybe" value="Maybe ">Maybe<br>
<input type="radio" name="Not Sure" name="Not Sure" value="Not Sure">Not Sure<br>
<br>
<p>What is your favourite feature of freecodeCamp</p> 
<label for="dropdown" ></label>
<select id="dropdown" name="sec">
<option value="Select" >Select your current role</option>
  <option value="Projects" >Projects</option>
  <option value="Community ">Community</option>
  <option value="Open Source"></option>
  <p>
  <br> 
  <label for="checkbox" type="checkbox"></label>
  <option value



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

Challenge Information:

Survey Form - Build a Survey Form

This can happen if you make too many syntax errors.

To find the errors, copy your code into an online html validator like this one and it will report to you every mistake.

After you fix the errors if you still need help with this, please do not open another topic, but just reply to this one with any additional questions you have about this project.

Thanks

1 Like