Learn HTML Building a Cat Photo App - Step 55

Associate the text Loving with the checkbox by only nesting the text Loving in a label element and place it to the right side of the checkbox input element.

<input id=“loving” type=“checkbox” <label for=“loving” Loving

hello and welcome to fcc forum :slight_smile:

that piece of code has invalid syntax in it, i hope you can see that too

and also share that step url, while asking questions as well

fyi: feel free to checkout if there’s anybody asked this question or similar to it in forum already, that way you dont have to wait, you can just learn as you go :slight_smile:
happy learning :slight_smile:

am not getting it…, its giving me lots of headache

1 Like

:grin:

it can happen to best of us, dont be upset, just a part of learning :slight_smile:

look closely to this code you posted <input id=“loving” type=“checkbox” <label for=“loving” Loving

  • both “input” and “label” closing tag is missing
  • also both of them missing closing bracket ‘>’

if you address these adjustments, it should be fine…

happy leanirng :slight_smile:

3 Likes

well…i got it now…hahahah…
Loving

1 Like

Loving

how did you solve it? please help if you still remember

yes, are you having any issues?

I got it now…it is so confusing :grimacing:

1 Like

Please i am having issues, whats the correct code

hello… what is the issue ?

lol. That’s what I ran into when I was coding.

I’m having the same problem. My code looks like this. The label signs were already there in the question.
<label><input type=“checkbox”>Loving</label>
I have a single input element (I think) but the feedback message says I have more than one, whatever order I put the code. Any help gratefully received.

if it’s for “step 55” then all you need to do is to add “id” to your “input” element

Step 55
Add an id attribute with the value loving to the checkbox input.

happy learning :slight_smile:

Thanks, Bappyasif. I worked it out this morning with a refreshed mind. Now well into the Cafe exercise.