HTML/CSS Assessment Input. Can't find what's wrong

Hi! I’ve just submitted my 1st attempt at the HTML/CSS Assessment and I got 11/12.
The email says that the question I missed was:

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

Here is a screenshot of my code.

However, I really don’t understand why I am getting that error since I have both the input with the name “pet_name” and the label with the content ‘Name’.

Unless that what it actually needs to be is like this:

      <label for="pet_name" content="Name">Name</label>
      <input type="text" id="pet_name" name="pet_name">

Thank you in advance!