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.
3 Likes
system
Closed
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.