What am I not doing right on this code line? Challenge 56
<input id="loving" type="checkbox"name="loving"><label for="Loving">Loving<label/>
Challenge: Learn HTML by Building a Cat Photo App - Step 56
Link to the challenge:
What am I not doing right on this code line? Challenge 56
<input id="loving" type="checkbox"name="loving"><label for="Loving">Loving<label/>
Challenge: Learn HTML by Building a Cat Photo App - Step 56
Link to the challenge:
Hi there and welcome to our community!
You have a syntax error in your closing label
tag.
Also, your for
attribute in your label
element should exactly match the id
attribute in your input
element.
Finally, there should be a single space between your input
and label
elements.
well that definitely worked for me, thanks
Hi everyone!
I was wondering why the code doesn’t work when it’s like
Even though the example is like this and online is like that too?
Good question, but please open a new topic.
In the future, please create your own topic when you have specific questions about your own challenge code. Only respond to another thread when you want to provide help to the original poster of the other thread or have follow up questions concerning other replies given to the original poster.
The easiest way to create a topic for help with your own solution is to click the Ask for Help button located on each challenge. This will automatically import your code in a readable format and pull in the challenge url while still allowing you to ask any question about the challenge or your code.
Thank you.