Learn HTML by Building a Cat Photo App - Step 56

Tell us what’s happening:
i don’t got the anwser right i be trying it for 20 min.
apparently I’m supposed to make a label element with the for attribute with but does this for attribute have to have the same value as the id? or am I just understanding this wrong?

Your code so far

          <fieldset>
            <legend>What's your cat's personality?</legend>
           <label for="loving"> <input id="loving" type="checkbox"> Loving</label>
          </fieldset>
     

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.42

Challenge: Learn HTML by Building a Cat Photo App - Step 56

Link to the challenge:

You are doing it correctly but your label should be on the right side of the input (right now your label opening tag is on the left)

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.