Struggling w/HTML in the HTML-CSS Assessment

HTML/CSS Learning Challenge

I’ve just failed my HTML/CSS assessment for the following reasons and can not for the life of me figure it out;

  1. has ‘button’ element which contains the exact text “Create new pet”
  2. Has exactly one input with a name of “pet_name” and an associated label with the content ‘Name’
  3. has exactly one ‘select element with a name of ‘pet_type’ and an associated label with the content "Type’

Below I’ve included screenshots of my code. Any help is very much so appreciated!!

Forgot to include the second screenshot;

Hi, and welcome to the community!

I can see from your screenshot that you are not correctly associating your labels with your inputs. I would recommend going back into the lessons to double-check the details on how to associate them properly.

As for the button, I don’t see your code in the screenshot, but definitely check the details, such as spelling, capitalization, etc. We see a lot of typos, and those small details will cause the test to fail.

Keep at it - You’ve got this!