... has an single-line text input with and id of "name", a name of "pet_name", and with an associated label that reads "Name"

Learning Challenge

HTML/CSS Assessment Final Question on this assessment score feedback:

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


The above was one of the two reasons I got two points deducted from my HTML assessment. Can anyone check my screenshot of code and see if they can spot anything in the code where I made the above mistake?

What I’ve tried

My question is that I’ve checked all my code and I can’t figure out anything that I need to change. I’ve asked in here several times and even asked my Admissions Specialist who said he couldn’t find a problem so he asked me to repost in here. I checked in the div with the single-line input with the label “Name”, id of “name” and name of “pet_name”. From what I can tell and even @bryanray said that that code is correct. I’m at a loss at this point, but I don’t want to turn it in and fail again…


According to your screenshot posted here, it looks like everything should be fine. Perhaps someone else might be able to spot something that I’m missing though?

I do recall in a previous post that you may have had two fields with a name of pet_name though? It looks like you have resolved that though.

1 Like

Well, I’m going to accept that you know what you’re talking about!!! You actually told me not to change anything in that section yesterday and that it was correct. Yesterday’s screenshot was from my original submission without any edits.

Thanks again for all your help.

Holy moley! That is a dangerous assumption! :wink: :laughing:

1 Like

I’ll take my chances!!! :rofl: :rofl: :rofl:

1 Like