Survey page help please

Hey, can someone please help me with my survey page. I have looked over the code for awhile and I cannot figure what I am missing. It is passing 15/17 tests but I can’t figure out how to see what tests I have passed.
Your code so far


<style>
 body
    {
        background-image:url('images/background.jpg');
        background-repeat:repeat-x;
    }

    .container
    {
    background-image:url('images/center.jpg');
    background-repeat:no-repeat;
    }
    td.cntr {padding-top:20px;}
</style>

<div class="container">
  <header class="header">
    <h1 id="title" class="text-center">Quarantine Survey</h1>
    <p id="description" class="description text-center">
      Thank you for taking the time to answer these questions. Let us know how much fun you had inside: </p>
    <header> 
    <form id="survey-form">
      <div class="form-group">
        <label id="name-label" for="name">Name</label>
        <input
                 type="text"
                 name="name"
                 id="name"
                 class="form-control"
                 placeholder="Enter your name" 
          required
        />
        </div>
        <div class="form-group">
          <label id="email-label" for="email">Email</label>
      <input
        type="email"
        name="email"
        id="email"
        class="form-
               pattern="amay97@gmail.com" control"
        placeholder="Enter your Email"
        required
      /> 
    </div>
    <div class="form-group">
        <label id="number-label" for="number"
>Age<span class="clue">(optional)</span></label
      >
    <input
        type="number"
        name="age"
        id="number"
        min="01"
        max="99"
        class="form-control"
        placeholder="Age"
      />
    </div>
      <div class="form-group">
        <p>Which option best describes your current role?</p>
        <select id="dropdown" name="role" class="form-control" required>
          <option disabled selected value>Select Current Role</option>
          <option disabled selected value>Select an Option</option>
          <option value="Full time student">Full time Student</option>
          <option value="Full time job">Full time job</option>
          <option value="part time job">Part time Job</option>
          <option value="not a student">Not a student</option>
          <option value="no work">No work</option>
        </select>
      </div>

      <div class="form-group">
        <p>Select all that you have done during Quarantine:
          <span class="clue"(Check all that apply)</span>
        </p>
 <label>
   <input
        name="check all that apply"
        value="front-end-projects"
        type="checkbox"
        class=”input-checkbox”
       /> Walked the dog</label>
        
        <label>
          <input
                 name="prefer"
                 value="Ordered Groceries to your home"
                 type="checkbox"
                 class="input-checkbox"
                 />Ordered Groceries to your Home</label>
<label>
  <input 
          name="prefer"
          value="Finished more than 5 books"
          type="checkbox"
          class="input-checkbox"
          />Finished more than 5 books</label>
        
        <label>
          <input
            name="prefer"
            value="Tried a tik-tok trend"
            type="checkbox"
            class="input-checkbox"/>Tried a tik-tok trend</label>
        
     <label>   
       <input
           name="prefer"
           type="checkbox"
          class="input-checkbox"/>Learned something new </label>
       <label>
         <input
            name="prefer"
            value="Binged tv shows"
             type="checkbox"
             class="input-checkbox"/>Binged tv shows</label>
        
        <label>
           <input
             name="prefer"
             value="Learned a new language"
             type="checkbox"
            class="input-checkbox"/>Learned a new language</label>
        
        <label>
         <input 
           name="prefer"
           value="Learned a new conspiracy"
           type="checkbox"
           class="input-checkbox"/>Learned a new conspiracy</label>
        
        <label>
         <input
           name="prefer"
           value="Got Covid19"
           type="checkbox"
           class="input-checkbox"/>Got Covid19</label>
        
        <label
               ><input
                       Name="prefer"
                       value="Sent out some snail mail"
                       type="checkbox"                       class="input-checkbox"/>Sent out some snail mail</label>
        
        <label>
         <input
            name="prefer"
            value="Played Video Games"
            type="checkbox"
            class="input-checkbox"/>Played Video Games</label>
        
        <label>
        <input
          name="prefer"
          value="Completed a puzzle"
          type="checkbox"
          class="input-checkbox"/>Completed a puzzle</label>
        
        <label>
         <input
           name:"prefer"
           value="Cleaned your home"
           type="checkbox"
           value="input-checkbox"/>   Cleaned your home</label>
        
        <label> 
        <input
           name="prefer"
           value="Mastered the art of Coffee"
           type="checkbox"
           class="input-checkbox"/>Mastered the art of Coffee</label>
        
        <label>
        <input
          name="prefer"
          value="Participated in a zoom call"
          type="checkbox"
          class="input-checkbox"/>Participated in a zoom call</label>
        
        <label>
         <input
             name="prefer"
             value="Did something for a good cause"
             type="checkbox"
             class="input-checkbox"/>Did something for a good cause</label> 
        
        <label>
        <input
            name="prefer"
            value="Watched a funny movie"
            type="checkbox"
            class="input-checkbox"/>Watched a funny movie</label>
        
        <label>
        <input
          name="prefer"
          value="Worked out from home"
          type="checkbox"
          class="input-checkbox"/>Worked out from home</label>
        
        <label>
        <input
          name="prefer"
          value="Wrote a poem"
          type="checkbox"
          class="input-checkbox"/>Wrote a poem</label>
        
        <label>
        <input
          name="prefer"
          value="Found your inner peace"
          type="checkbox"
          class="input-checkbox"/>Found your inner peace</label>
        
        <label>
        <input
           name="prefer"
           value="Wore a mask while out in public"
           type="checkbox"
           class="input-checkbox"/>Wore a mask while out in public</label>
        
        <label>
        <input
           name="prefer"
           value="Made a charcuterie board"
           type="checkbox"
           class="input-checkbox"/>Made a charcuterie board</label>
        
        <label>
        <input
          name="prefer"
          value="Tried a vegan diet for a month to help combat climate change"
          type="checkbox"
          class="input-checkbox"/>Tried a vegan diet for a month to help combat climate change</label> 
        
        <label>
        <input
          name="prefer"
          value="Asked for help"
          type="checkbox"
          class="input-checkbox"/>Asked for help</label> 
        
        <label> 
        <input
            name="prefer"
            value="Became a home Bartender"
            type="checkbox"
            value="input-checkbox"/>Became a home Bartender</label>
        
        <label>
         <input
             name="prefer"
             value="Cried"
             type="checkbox"
             class="input-checkbox"/>Cried</label>
        
        <label>
        <input
           name="prefer"
           value="Talked to a therapist"
           type="checkbox"
           value="input-checkbox"/>Talked to a therapist</label>
        
        <label>
        <input
            name="prefer"
            value="Boycotted any business or organization"
            type="checkbox"
            class="input-checkbox"/>Boycotted any business or organization</label>
        
        <label> 
        <input
          name="prefer"
          value="Shopped from a small business"
          type="checkbox"
          value="input-checkbox"/>Shopped from a small business</label>
        
        <label>
        <input
           name="prefer"
           value="Practiced affirmations/Manifestation"
           type="checkbox"
               class="input-checkbox"/>Practiced affirmations/Manifestation</label>
        
        <label>
        <input
          name="prefer"
          value="Created something for personal enjoyment"
          type="checkbox"
          class="input-checkbox"/>Created something for personal enjoyment</label>
        
        <label>
         <input
            name="prefer"
            value="Gave the backyard a makeover"
            type="checkbox"
            class="input-checkbox"/>Gave the backyard a makeover</label>
        
        <label>
        <input
          name="prefer"
          value="Participated in spring cleaning"
          type="checkbox"
          class="input-checkbox"/>Participated in spring cleaning</label>
        
        <label> 
        <input 
          name="prefer"
          value="Drank a gallon of water daily"
          type="checkbox"
          class="input-checkbox"/>Drank a gallon of water daily</label>
        
        <label>
        <input 
           name="prefer"
           value="Sang at the top of your lungs"
           type="checkbox"
           class="input-checkbox"/>Sang at the top of your lungs</label>
        
        <label>
        <input
           name="prefer"
           value="Danced while no-one was watching"
           type="checkbox"
           class="input-checkbox"/>Danced while no-one was watching</label>
        
         <div class="form-group">
      <p> What was your favorite part about Quarantine?</p>
           <select id="most-like" name="mostlike" class="form-control" required>
             <option disabled selected value>Select an Option</option>
             <option value="Being a homebody">Being a homebody</option>
             <option value="Getting a chance to better myself">Getting a chance to better myself</option>
             <option value="Getting to try something new">Getting to try something new</option>
             <option value="Avoiding the state of the world">Avoiding the state of the world</option>
             <option value="completing multiple projects">Completing multiple projects</option>
           </select> 
        </div>
        
      <div lass=”form-group”>
<p>Explain to yourself what you feel you have learned from this time alone:</p>
         <textarea
         id="comments"
        class="input-textarea"
        name="comments"
        placeholder="Enter your comment here..."/>
        </textarea>
        </div>

        <div class="form-group">
        <button type="submit" id="submit" class="submit-button">
        Submit
      </button>
    </div>
  </form>
</div>
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

Hi @A4m10!

Welcome to the forum!

For the test suite, click run tests and then click on the button below run tests. It will show you what tests are passing and which ones are failing and why.

Also, you will get more responses to your post if you share a link to your project.

Before I had a chance to test out your code for myself in codepen I noticed a couple of syntax errors.

Also properly formatting your code, will help identify issues faster.

Hope that helps!


Thank you! I got it now.

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