Learn HTML by Building a Cat Photo App - Step 56

What am i doing wrong here?

          <input id="loving" type="checkbox"><label for="loving">Loving</label>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

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

Link to the challenge:

2 Likes

Your input must inside the label tag, but you are written outside,
If get it, Please mark this as solution.

you need a name attribute in your input tag.

This is correct except that you need one space between the input element and the label opening tag.

5 Likes