I don’t know why it’s not working
<input id="loving" type="checkbox"> <label for="loving"> Loving </label>
Your browser information:
User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/184.108.40.206 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 56
Link to the challenge:
i just passed using your solution. I would take a look and make sure there aren’t any typos and otherwise just reset that particular tutorial and submit the answer again.
I’ve tried, there is no space between Loving
Mod Edit: SOLUTION REMOVED
answer is this.
You need to put label element in new line and add for attribute with input id value.
well, theres the answer, which should probably be deleted.
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.
change your L to a small letter l in you ‘for’ attribute
This is the task at hand. "Associate the text
Loving with the checkbox by nesting only the text
Loving in a
label element and giving it an appropriate
for attribute. " Breaking it down it would be…
- A label element created nesting Loving.
- Give the label element a for attribute as instructed ( same value as the id used in input) , which now comes in the openig tag.
i am in a jam
it keeps saying Test
Sorry, your code does not pass. You’re getting there.
label element does not have a
for attribute. Check that there is a space after the opening tag’s name.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.