Learn HTML by Building a Cat Photo App - Step 56

I could not pass the 56th step of this project.
Can anyone help me in this???


There’s another way to associate an input element’s text with the element itself. You can nest the text within a label element and add a for attribute with the same value as the input element’s id attribute.

Associate the text Loving with the checkbox by nesting only the text Loving in a label element and giving it an appropriate for attribute.

I WROTE THIS:::—<label for="loving"text=“Loving”> Loving

What is wrong here?

Hello and welcome to the forum,

please use the “help” button in your task to give us a full view of your current task and your current HTML code.

By clicking “help” button, I posted this …please help nah…

It is hard to help if there is no way seeing your current HTML code.

In order to paste your HTML and CSS in here properly so that we can read the actual code you’ll need to use the following method.

To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key. You may also be able to use Ctrl+e to automatically give you the triple back ticks while you are typing in the this editor and the cursor is on a line by itself. Alternatively, with the cursor on a line by itself, you can use the </> button above the editor to add the triple back ticks.

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