Issue adding checkbox and nesting each within its on label

<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>

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

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


<label for="fun"><input id="fun" type="checkbox" name="personality"> fun 


<label for="strong"><input id="strong" type="checkbox" name="personality"> strong


found the issue… it was a typo in my label spelling

1 Like

Typos are the bane of my existance. :slight_smile: Good job figuring it out!

Hahaha… I can imagine… I have started taking extra precautions now… Where i can copy and paste the code, I just do to save myself of stress lol.

Very Good, man! Keep it up

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