Step 56 of Cat photo app

Hello everyone,I’m stuck on step 56.I have tried all means but it keeps telling me that the input element cannot have a closing tag.Here’s the code

Loving
here’s the response"Sorry, your code does not pass. You’re getting there.

The input element for your checkbox should have an opening tag, but not a closing tag."Plz help,I have been stuck for two weeks now

so what does your code look like?

Loving

Loving

check for any errors in spacing or if you missed any capital letters

where please so that I can rectify

Hey have you seen the code coz am still stuck

Hi there and welcome!

Create a topic to the challenge step using Help button. That button appears below the challenge editor when you try to submit wrong code more than three times. Its include a link to the challenge step. Add your code between the pair of three back ticks, so it should be visible here on the forum.

Here is back ticks within the braces
(```)

That tab has no problem in appearing but the problem is on the system,it’s not accepting me pass on step 56 on HTML cat photo app.It keeps on saying " The input element for your checkbox should have an opening tag, but not a closing tag

You should post your code and a link to the challenge step. Add three back ticks on a separate line before and after your code.

(<legend>What's your cat's personality?</legend> <label> <input type="checkbox" name="loving"> loving </label>)

You need to add (```) back ticks, not ‘’ comma’s, and back ticks should be on a separate line before and after your code.
Example:

(```)

Your code here

(```)

Ignore the braces around back ticks.

The instructions wants an input type checkbox with the text Loving. You have added it. That’s it.
Why you added a label opening and closing tags around that input element?

 <legend>What's your cat's personality?</legend>
           <label> <input type="checkbox" name="loving"> loving </label>

IS THIS OK?

I said, ignore the round braces around back ticks, you need only back ticks on a separate line before and after your code, to visible here.

thank you so much ,I’ve done what you told me and it has worked

            removed
1 Like

Please do not post solution code to the forum, thanks!