Stuck on nesting part on radio labels

Hey guys I started to learn HTML today and I reached the part where I need to put 2 radio buttons, and I did all the steps required except the nesting part, it says “Each of your two radio button elements should be nested in its own label element”. I even watched a video to do it and did exactly the same but its still wrong. I would appreciate it if people could help me so I can continue learning.


Click here to view more cat photos.

<a href="#"><img src="" alt="A cute orange cat lying on its back."></a>

	<p>Things cats love:</p>
		<li>cat nip</li>
		<li>laser pointers</li>
	<p>Top 3 things cats hate:</p>
		<li>flea treatment</li>
		<li>other cats</li>
	<form action="/submit-cat-photo">
		<input id="indoor" type="radio" name="indoor-outdoor">



		<input type="text" placeholder="cat photo URL" required>
		<button type="submit">Submit</button>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36.

Challenge: Create a Set of Radio Buttons

Link to the challenge:

Hi! I can’t see any label element in your code. Nesting elements in HTML basically means putting one element tag inside another:


There’s an example of nesting radio elements inside label elements in the challenge you are doing:

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

Maybe you didn’t post your code but the one in the challenge. Have you done something like in that example?

I fixed it already thanks