Survey Form - Test Suite HELP!

Hi

I am just creating a survey form project and using test-suite to follow the user stories and I am stuck on 8,9,11 and 12. Could you please help me on this?

codepen below

https://codepen.io/ksithu9529/pen/OJyNyRV

thanks
Kaung

1 Like

in select the ID is bad. is id=“dropdown”.

name and ID
in age it’s bad.

1 Like

Always click the red button indicating the number of passes (for your case 13/17). It will display a dialog box showing why it is not passing some tests. There are still a number of things you have to work on for your case.

1 Like

thank you!! manage to fix it! so close yet so far

1 Like

Yeah, thank you Nibble. I figured that, it’s just when I try to sort those user stories out! just doesn’t seem to be working for me. Got one so far since I posted this.

Okay @ksithu9529. A hint! Look at the div element with id number. Remove the id attribute and apply that id attribute with value number on the input element of type number. Don’t forget to change the for attribute of label element. Check below.

   <div>
        <label id="number-label" for="number"> Age </label>
        <input type="number" name="age" id="number" min="1" max="150" required placeholder="Age">
     </div> 

The last error is self explanatory and it is for you to figure out. Cheers