Learn HTML by Building a Cat Photo App - Step 54

Tell us what’s happening:

Describe your issue in detail here.

What's your cat's personality? Loving ### Your code so far I got error and it said "You should only have added one input element for your checkbox. Remove any extras. ". is someone know what my mistake was ?
<fieldset>
  <legend>What's your cat's personality?</legend>

<!-- User Editable Region -->

  <label><input type="checkbox" value="Loving"> Loving</label>
</fieldset>


<!-- User Editable Region -->

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 54

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Hey @codmrusher welcome to the forum
You should separate your input from you label like so

<input><label>text</label>

Watch out for spaces
Happy coding

thank you for the replies , I didnt expect someone would reply to me. I code only for fun . btw do you mean like this ?

Loving

Your code is ok just remove the nested input element out of the label element everything else is ok

In this step you should create only the input element, not anything else, so remove the legend element

If we remove the legend element it is showing error

@ilenia Can u pls tell us properly what to do i tried everything i could but still it is showing me error saying that i have inserted extras…

Hey @codmrusher
Actually the step just requires qn input no label element reset the step and just add an input followed by the text

<input >text

Happy coding

i think i found the solution the it was simple just use
Mod edit: removed
dont use label and leave a single space between "Loving " and “>” like above

@nbhamrah1

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.