Need help with my survey form project!

I just built this survey form while going through responsive web desing course.
It passes 15/17 test but cannot pass two and i can’t find the problem.
Can anyone help me??

You can click the red button under run tests which will show which tests you have failed.

You can read through this and make changes to pass the test

Good luck :slight_smile:

Thank you for your answer.
I did read those and made changes according to that but it still dosen’t work.
I even compared my code to example survey form code( but i couldn’t find any diffrence or missing lines of code.

I think the reason why are getting an error for the test no.4 is because you named the div with the id of “name”. The id attribute should select a unique name for id, unlike the class selector.

Here’s the part:

<div id="name">
      <label id="name-label" for="name">Name:</label><br>
        placeholder="Enter your name"

    <div class="email">
      <label id="email-label" for="email">Email:</label><br>
        placeholder="Enter your Email"

Thanks alot!!!
I did that to email and age as well and that solved both of my problems.

1 Like

Good job working through it and debugging! That’s a lot of what writing real software is. :slight_smile:

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