Hi I am new to coding and tried doing the assessment myself but failed. I am confused in what went wrong even though everything seems to be functioning properly. Thank you for your time.

Screen Shot 2021-02-10 at 3.39.32 PM

Hi Ken, welcome to the community!

It looks like with some minor revisions, you’re going to be in great shape on this assessment!

It’s really important to know that the auto-grader tests will fail with any minor typos, so the tiniest details such as spacing, capitalization, and spelling differences are often the cause of failed tests. So for making your corrections, you will have to look at the directions, and make sure every tiny detail in your code is identical to the specification.

  • For the “Create new pet” button, double check these minor details.

  • For the pet_name error, also check those minor details. This is what I see in your submission:

      <label for="Name">Name</label>
      <input type="text" id="name" name="pet_name">
  • For pet_type, double check how you are associating your label with the input. This is the code in your submission:
      <label for="pet_type">Pet Type:</label>

      <select name="pet_type" id="type">
        <option value="Cat">Cat</option>
        <option value="Dog">Dog</option>
        <option value="Hamster">Hamster</option>
        <option value="Zebra">Zebra</option>
        <option value="Other">Other</option>

Like I said above, the minor details are super important for passing these tests, but should be pretty quick fixes once you find those details.