Adding radio button in form tag

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<p>Click here to view more <a href="#">cat photos</a>.</p>

<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="">
  <input type="text" placeholder="cat photo URL" required>

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

  <lable for="outdoor">
    <input id="outdoor" type="radio" name="indoor-outdoor">outdoor
  <button type="submit">Submit</button>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36

Challenge: Create a Set of Radio Buttons

Link to the challenge:

Do you have an issue with this lesson?
You need to add a pair of radio buttons to your form, each nested in its own label element

i do is

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

but it not working

You spelled lable whereas it should be label

please check the spelling of label

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