Survey form number of user stories

The Survey form project has 16 user stories but the Codepen project has 17 tests. Where do I find the 17th user story?
My project (in progress)

Thank you!

@brocos, after you run the test, click on the red ‘Tests 16/17’ button and it will expand showing you all the tests, including the failing one. Read the error message and it will guide you on how to fix it.

Thanks a lot, I didn’t know that trick!

However, there is something strange with the tests. The error seems to be that I’m missing an input field with id=“name”. But there is one in my code.

<h1 id="title">Survey form</h1>
<p id="description">Let us know what you think</p>
<form id="survey-form" action="#">

  <label for="name" id="name-label">Name</label>
   <input type="text" id="name" placeholder="Type your name"><br><br>
  <label for="email" id="email-label">Email</label>
   <input type="email" id="email"  placeholder="Type your email" required><br><br>
  <label for="number" id="number-label">Number</label>
   <input type="number" id="number" min="1" max="5"  placeholder="Type a number"><br><br>
   <label>Select list</label>
  <select id = "dropdown">
    <option value = "1">one</option>
    <option value = "2">two</option>
    <option value = "3">three</option>
    <option value = "4">four</option>
  </select><br><br>
  <label for="music" id="music-label">What is your favorite music genre?</label>
  <input type="radio" name="music" value="rock" checked>Rock 
  <input type="radio" name="music" value="pop">Pop 
  <input type="radio" name="music" value="jazz">Jazz <br><br>
  <label for="time-music" id="checkbox-label">How long do you listen to music every week?</label><br>
    <input type="checkbox" name="time-music" value="1" checked> Less than 1 hour<br>
  <input type="checkbox" name="time-music" value="1-1"> Between 1 and 2 hours<br>
  <input type="checkbox" name="time-music" value="2"> More than 2 hours<br><br>
   <label for="comments" id="comments-label">Any further comments about your music comsumption habits?</label><br><br>
  <textarea name="comments" form="usrform">Enter text here...</textarea><br><br>
    <input type="submit" id="submit" value="Submit">
</form>

If you keep reading the error:
Name input field should be required : expected false to be truthy

you need to make that input required.

2 Likes

That worked! Thanks a lot. Lesson learned (I need to read more carefully).