Learn HTML by Building a Cat Photo App - Step 56

I don’t see the problem in my code

Can someone help me?

My code so far

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

Can you post the link to the step you are on first?

Put the label opening tag on the right of the input…

1 Like

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

Like this?

Yes but you need a for attribute now

Sorry. I’m still stuck here

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

I think you removed one space that should be between the input and the label.

What does the hint say?

Your checkbox should still have an id attribute with the value loving . Expected loving , but found `` .

This is what the hint says

can you post all your code and also add a link to the challenge?

And this is my code: <input id="loving" type="checkbox"> <label for="loving">Loving</label>

Your solution works from my end. Please try one of the following steps to move forward.

Click on the “Restart Step” button and force a refresh of your page with CTRL-F5 then try to paste the code in again.

or - Try the step in incognito or private mode.

or - Disable any/all extensions that interface with the freeCodeCamp website (such as Dark Mode, Ad Blockers, or Spellcheckers), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

or - Ensure your browser is up-to-date or try a different browser.

I hope one of these will work for you.

Now, it’s working! Thank you

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.