Step 54 Input Checkbox

Forms commonly use checkboxes for questions that may have more than one answer. For example, here’s a checkbox with the option of tacos: <input type="checkbox"> tacos.

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

Loving

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

What am I missing?

1 Like

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

I’ve edited your code for readability. 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 (').

It looks like you are missing the option “Loving” and also the closing tag of the input.

I figured it out thanks to forum - was missing a space before Loving

1 Like

Congratulations on figuring it out. Happy coding!

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