Hey guys, I am currently taking online lessons at freecodecamp.org . Step 56 - they ask to wrap the text in the label element. I literally followed the Example given, but the system doesn’t accept my code. And can’t get to the next step. Just stuck at Step 56. Can someone help, please?
It means this time, you don’t need to wrap the entire <input type="checkbox>
inside the <label>
element no more to associate it with the checkbox i.e. clicking the text “Loving” also checks the checkbox.
With <label>
's for
attribute, you can virtually put the element anywhere in the html document , (though in this exercise, put it right next after the <input>
) and still able to associate the said type="checkbox"
by its id
.
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.
Use backticks to share your code, how to do:
Forum code formatting
Thank you. I tried it. It brought me to this website. To create a post I have to indicate someone to help in the "Search " section, right?
Nope, just create a topic using Help button and the forum community will help
I did it. Thank you so much.
Thank you very much.