Build a Survey Form - Can't pass tests

Tell us what’s happening:

I can’t pass tests with my HTML code and I don’t know why. It would be a waste of time for me If I would start styling it now.


Your code so far

<!DOCTYPE html>
<html lang="en">

  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <!-- <link rel="stylesheet" href="main.css"> -->

    <h1 id="title">Colgate Survey Form</h1>
    <p id="description">Thank you for taking the time to help us improve our product</p>
    <form id="survey-form">
      <div class="form-group">
        <label id="name-label" for="name">Name</label>
        <input type="text" name="name" id="name" placeholder="Enter your name" required>
      <div class="form-group">
        <label id="email-label" for="email">Email</label>
        <input type="email" name="email" id="email" placeholder="Enter your email" required>
      <div class="form-group">
        <label id="number-label" for="number">Age</label>
        <input type="number" id="number" name="age" min="18" max="100" placeholder="Age">
      <div class="form-group">
        <p>How often do you brush your teeth?</p>
        <select id="dropdown" name="frequency">
          <option value="day">Every day</option>
          <option value="week">Every week</option>
          <option value="month">Every month</option>
          <option value="never">What is toothbrush?</option>

      <fieldset class="form-group">
        <legend>Do you like to brush your teeth?</legend>
        <label><input name="user-opinion" value="definitely" type="radio" checked>Definitely</label>
        <label><input name="user-opinion" value="maybe" type="radio" checked>Maybe</label>
        <label><input name="user-opinion" value="not-sure" type="radio" checked>Not sure</label>

      <fieldset class="form-group">
        <legend>What is your favourite flavour?</legend>
        <select id="most-like" name="mostLike" required>
          <option disabled selected value>Please select an option</option>
          <option value="mint">Mint</option>
          <option value="apple">Apple</option>
          <option value="strawberry">Strawberry</option>
          <option value="peach">Peach</option>

      <fieldset class="form-group">
        <legend>What is your favorite toothpaste?</legend>
        <label><input type="checkbox" id="coolgate" value="coolgate" name="prefer">Coolgate</label>
        <label><input type="checkbox" id="sensodyne" value="sensodyne" name="prefer">Sensodyne</label>
        <label><input type="checkbox" id="aquafresh" value="aquafresh" name="prefer">Aquafresh</label>
        <label><input type="checkbox" id="pepsodent" value="pepsodent" name="prefer">Pepsodent</label>

      <div class="form-group">
        <p>Give us feedback on our toothpaste.</p>
        <textarea id="feedback" name="feedback" rows="6" cols="50" placeholder="Enter your feedback here.."></textarea>

      <div class="form-group">
        <button type="submit" id="submit">Submit</button>


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0.

Challenge: Build a Survey Form

Link to the challenge:

have you selected the project from
the drop down menu?
all tests pass

1 Like

haha thanks this is so humiliating
// Fixed mod can close. :slight_smile:

Same as above. All tests pass for me.