I’m stumped on this Step in the CatPhotoApp. How do I add a for attribute? Did I do the labeling right at least?
Please post your actual code and a link to the challenge instead of a picture. Thanks
You forget to add a for attribute to the label element
You add the for
attribute to the label
tag. The for
attribute should have the same value as the input’s id
. Also, while not required, some people like to place the input tag inside of the label tag so that the area between the checkbox and label text is clickable.
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.
OMG, thank you SO much, that was really helpful!
Okay, sorry about that. I won’t let that happen again. I just edited my original post.
You’re welcome. I’m always glad to help!
on me, that’s should be add below of input line
Mod Edit : SOLUTION REMOVED
Hope this helps to you.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.