App Academy

HTML/CSS Assessment Attempt 1

Learning Challenge

HTML/CSS Assessment

Question

Hi! I’m trying to fix my code for this assignment and I’m wondering if I’m on the right track.

The questions I missed were:

  • has exactly one input with a name of ‘pet_name’ and an associated label with the content ‘Name’

  • has exactly one ‘select’ element with a name of ‘pet_type’ and an associated label with the content ‘Type’

I’ve tried reviewing the instructions and my code, but I can’t seem to find the error.

Screenshots

Hi Caroline,

First of all, welcome to the community! We’re glad you’ve come here for support!

It looks like both errors are due to the same issue in your code. There is a very specific way that we need to associate a label with an input, and that is where you have made a mistake for both sections (pet name and pet type).

I recommend taking another look at the Building Forms in HTML for guidance and examples on how to properly associate a label with an input.

Feel free to reach out with any other questions!
Jesse

1 Like