Step 54 - Cat Photo App

Please help me with step 54.
I am trying to create a checkbox with the option loving but it keeps saying that my code doesn’t pass. This is how I set it up : <input type=“checkbox”“Loving”> It also says that the text Loving needs to be directly next the the checkbox but then checkbox doesn’t work with loving inside those quotation marks. Please help me

Hi there!
Welcome to the fcc forum. Please post your current code and link to the challenge step using help button.

Hi,
here is the link: https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-54

Also post your whole code you have in the challenge editor using three back ticks (```) in a separate line, above and below your code block.

You should not add the text Loving within the <input>, instead of add it after input element with a space.

It doesn’t work, It says that the text loving needs to be directly to the right of the checkbox

Without seeing your code, I can’t help you. I gives the solution in above post.


It won’t let me add the code

Thank you hasanzaib1389, I just restarted the website and then tried what you said before. thanks

1 Like

Use back ticks , instead of screenshots.

Here is the back ticks:

(```)

Copy and paste your code, and add three back ticks in a separate line , below and above your code block.

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 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 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.

– removed by mod –

Here is the corrected code…Try this and make sure there is a space between the input element and Loving option

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.

1 Like