Hello I am super newbie, I am stuck at Exercise 1. The hint kept saying I need to wrap the text in a label which contains a button. What does that mean?
My code looks like this now:
<legend>What's your cat's personality?</legend>
<label for="loving"> <input id="loving" type="checkbox">
There are several 'Step 1’s. Can you provide the link to the challenge you are working on? Thanks
It’s the Cat App exercise, step 55.
Here is the challenge instructions:
Associate the text
Loving with the checkbox by only nesting the text
Loving in a
label element and place it to the right side of the checkbox
and the original code:
<input id="loving" type="checkbox"> Loving
You should put the
label tags immediately before and after the specified text
Thanks for your reply. Do you mean by this?
<label> <input id="loving" type="checkbox">
I still got an error " Hint
Loving should no longer be located directly to the right of your checkbox. It should be wrapped in a
label element. Make sure there is a space between the two elements."
No, you did not move your
label tag is immediately before the
input element and your closing
label tag is immediately after the text
Loving. You most only put the tags only around the text
Loving and absolutely nothing else.