Needing assistance with Step 57

I get this error saying:

On the right side of your new checkbox, there should be label element with the text Lazy.

I’ve straight up put a start and ending of the label element next to Lazy, but still get this error. Please help!

<input id="loving" type="checkbox" name="personality">
<label><input id="lazy"</label> type="checkbox" name="personality">
<label for="loving">Loving</label>

Can you share a link to your code?

You can’t put a tag inside an other tag
“To the right of the checkbox” means after the end of the tag, after the >

I’ve done something like this:

<label><input id="lazy" type="checkbox" name="personality"></label>

But I still get the same error.

You put the input inside the label. The label goes to the right of the input instead
And you are missing the label text

<input <label> id="lazy" type="checkbox" name="personality"></label>

?

No, you put again a tag inside the other, which is invalid html
To the right of the input element, after its >, put code only after the > of the input element

You can’t add a tag inside a tag, it doesn’t work like that

Oh, okay. I think I get what you mean now… Maybe.

<label<input id="lazy" type="checkbox" name="personality"></label>

No, you can’t put a tag inside a tag
A tag is made by opening bracket, element name, eventual attributes and closing bracket
<elementName attribute1="value" attribute2="value">
That’s a unit and you can’t divide it

Reset the step, find the input element, individuate the closing bracket > and write only to the right of the closing bracket

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