Building a Cat Photo App- step 54

Hello! I am stuck on this spot, the hint does not help where it says “You should only have added one input element for your checkbox. Remove any extras.”- it looks to me as though I do only have one input. What is extra? TID!Preformatted text

It looks fine but to confirm we need the link to the challenge and the text of your code pasted here so we can copy it and test it ourselves.

Thank you- I am new to this, how can I post the text of the code? I tried copy+paste into a comment, it wouldn’t let me.

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

The instructions state:

Under the legend element you just added, add an input with its type attribute set to checkbox and give it the option of:


Instead you have put the input element inside the legend element. Make sure you remember how to distinguish between an element an a tag.

Does this look better? It is still giving me the same error message- what does it think is an extra element?

I don’t think they asked for a label element?

The hint is a bit misleading. The test for the hint is checking to see if there is one input element that is a direct descendant of the fieldset element. As pointed out, you wrapped the input element in a label element, so if found zero input elements which is why the test fails and that hint shows.