# Help with Survey Form Test

**URL:** <https://forum.freecodecamp.org/t/help-with-survey-form-test/308774>\
**Category:** General\
**Created:** [August 24, 2019, 3:12pm UTC](https://forum.freecodecamp.org/t/help-with-survey-form-test/308774 "2019-08-24T15:12:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karssassin](https://avatars.discourse-cdn.com/v4/letter/k/cab0a1/32.png) [@Karssassin](https://forum.freecodecamp.org/u/Karssassin)\
**Post date:** [August 24, 2019, 3:12pm UTC](https://forum.freecodecamp.org/t/help-with-survey-form-test/308774/1 "2019-08-24T15:12:14Z")

</div>

```auto
<!DOCTYPE html>
<html>
<head>
<title id="title">Bag Order Form</title>
</head>
  <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
    <body>
      <h1 id="title" class="title">Order Form</h1>
        <p class="sub" id="description">Submit Your Order!</p>
        <div class="form-div">
            <form class="orderForm" id="survey-form" method="post">
             <div class="row">
               <div class="label" id="name-label">
                 <label id="name-label">Name:
                   </div>
                  <input class="inputs" placeholder="Full Name" name = "full-name" type="text" method="post" id="name" required >
              </div>
        <div class = "rows">
              <div class="label" id="email-label">
                <label id="email-label">E-mail:
                  </div>
                <input class="inputs" id="email" placeholder="Enter a valid e-mail address" name="email" type="email" method="post" required>
              </div>
              <div class="row">
              <div class="label" id="size-label">
                <label id="size-label">Size:
                  </div>
                   <select class="inputs" id="dropdown" name="size" method="post" required>
                     <option value"size" disabled selected>Select a size.</option>
                     <option value="small">Small</option>
                     <option value="medium">Medium</option>
                     <option value="large">Large</option> 
                    </select>
              </div>
              <div class="row">
              <div class="label" id="number-label">
                <label id="number-label">Number of Bags:
                  </div>
                <input class="inputs" placeholder ="Max of 20 bags per order" type = "number" min="1" max="20">
              </div>
              <div class="row">
                <div class="label"> How likely are you to recommend these bags to a friend?</div>
                <div class="inputs">
                  <ul style="list-style:none;">
                    <li><input type="radio" value="1" name="radio"> Eh</li>
                    <li><input type="radio" value="2" name="radio"> Meh</li>
                    <li><input type="radio" value="3" name="radio"> Fa Sho</li>
                  </ul>
                </div>
              </div>
              <div class="row">
                <div class="label">Which of these would you say describe your time shopping on our site?</div>
                <div class="inputs">
                  <ul style="list-style:none;">
                    <li><input type="checkbox" name="feels" value="1">Happy</li>
                     <li><input type="checkbox" name="feels" value="2">Unsure</li>
                     <li><input type="checkbox" name="feels" value="3">Satisfied</li>
                  </ul>
                </div>
              </div>
              <div class="row">
            <textarea class="inputs text-box" name="message" placeholder="Send us any special requests or comments!" method="post"></textarea>
              </div>
              <div class = "row">
                <button class="inputs" name="submit" type="submit" id="submit" method="post">Place your order!</button>
              </div>
            </form>
        </div>
    </body>
</html>

```

Hello! First post here.

I am needing help with ensuring I pass the tests for the survey form project of the responsive web design section.

I have passed 11 of 17 tests however, from what I can tell from the test output, My code should be passing at least 3 of the other tests.  
For example

```auto
<h1 id="title" class="title">Order Form</h1>

```

This is not passing the user Story requiring a string with the h1 tag and an id =“title”

Any help is greatly appreciated!

---

<div class="post-metadata">

**Author:** ![Lucasl](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/lucasl/32/335178_2.png) [@Lucasl](https://forum.freecodecamp.org/u/Lucasl)\
**Post date:** [August 24, 2019, 3:29pm UTC](https://forum.freecodecamp.org/t/help-with-survey-form-test/308774/2 "2019-08-24T15:29:37Z")

</div>

Generally with IDs you want to try to only use them once. I think the problem might have to do with giving the ID to both`<title>` and `<h1>`

---

<div class="post-metadata">

**Author:** ![Karssassin](https://avatars.discourse-cdn.com/v4/letter/k/cab0a1/32.png) [@Karssassin](https://forum.freecodecamp.org/u/Karssassin)\
**Post date:** [August 24, 2019, 3:49pm UTC](https://forum.freecodecamp.org/t/help-with-survey-form-test/308774/3 "2019-08-24T15:49:44Z")

</div>

@Lucasl

AHA! I see. I had not used the label tags when first creating the site and used each id twice!  
Thank you!!

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 9:28am UTC](https://forum.freecodecamp.org/t/help-with-survey-form-test/308774/4 "2021-01-17T09:28:49Z")

</div>

Closed on January 17, 2021, 9:28am UTC


