Label tag tutorial. I think i have done it correctly

<label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor"> Indoor</label>

<label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor"> Outdoor</label><br>

    <label for="loving"><input id="loving" type="checkbox" name="personality"> Loving</lable> 

<label for="caring"><input id="caring" type="checkbox" name="personality"> Caring</label>

<label for="sweet"><input id="sweet" type="checkbox" name="personality"> Sweet</label><br>

<input type="text" placeholder="cat photo URL" required>

<button type="submit">Submit</button>


  1. Each of your three checkbox elements should be nested in its own label element.

  2. Make sure each of your label elements has a closing tag.

In the future, if you hit the Get Help -> Ask for help button, it will include the code you have tried with a link to the challenge.

For now, we don’t have all the challenges memorized - Can you provide a link to the challenge?

Your third label’s closing tag has a spelling error.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.