Tell us what’s happening:
I have 2 lines here, the first line is the previous step so you can see what I had changed. The instruction says I need to nest the text “Loving” only in a label element and give it a “for” attribute which has the same value as the id’s value in the “input element”. It got me confused because I thought I did exactly right. Can you show me the mistakes I made? Thank you and happy coding!
Your code so far
<input id="loving" type="checkbox"> Loving <input id="loving" type="checkbox"> <label for="loving">Loving</label>
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/184.108.40.206 Safari/537.36 OPR/220.127.116.11
Challenge: Learn HTML by Building a Cat Photo App - Step 56