Tips for Building a Cat Photo App - Step 56

I’m not sure if this is what we should be using the forums for but I really struggled with this step so wanted to share how I got to my answer in hopes that it can help someone else out there :slightly_smiling_face:

The main thing I struggled with was where to put the and I tried absolutely everywhere until I re-read:

“by nesting only the text Loving in a label element”

So, to avoid looping for ages, don’t touch the Input element!!

Also - I’m not sure if this is common sense for anyone else but it’s now my understanding that:
Elements are the < ones
Attributes are = ones

“Associate the text Loving with the checkbox by nesting only the text Loving in a label element and giving it an appropriate for attribute.” Would have made a lot more sense if I had known that earlier!

Finally, the most frustrating part! Check your "Loving"s - they should be completely lowercase aside from the text one

Hope this helps (and doesn’t get taken down!!) :yum:

I think the difference between HTML elements and HTML attributes runs a little deeper then a just a bigger then and plus sign :hugs:

1 Like

Ah of course, I appreciate that! But as a beginner, I didn’t even know that and honestly, it made everything a million times easier when I learnt the signs haha

1 Like