I have an HTML assignment. Here's the task...
[make something that] has:
- an single-line text input with an id of "name",
- a name of "pet_name",
- and with an associated label that reads "Name".
I thought I had the right code, but it's saying I got it wrong and this was the feedback I got:
has exactly one input with a name of 'pet_name' and an associated label with the content 'Name'.
This is the HTML code that I had:
<label for="name">Name</label>
<input type="text" id="name" name="pet_name">
Could someone please help me identify what I'm doing wrong?