I do not where am i wrong please help

Tell us what’s happening:

  **Your code so far**

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

<a href="#"><img src="https://bit.ly/fcc-relaxing-cat" 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="https://freecatphotoapp.com/submit-cat-photo">
<input type="radio"name=“indoor-outdoor”>Indoor</label>
<input type="radio"name=“indoor-outdoor”>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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.72 Safari/537.36.

Challenge: Create a Set of Radio Buttons

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

The more information you give us, the more likely we are to be able to help.


My guess is that your label tags are missing a “for” attribute that tells them which input the label is attached to, if you read the lesson on the left from top to bottom you’ll find it mentioned there how necessary it is to include the “for” attribute.

Hope this helps.

nest the “input” element within the “label” tags.
that’s where you are wrong.

correct it by adding label for tags, then your code will run.

do not use the smart quotes, you need to use the straigh "" quotes, smart quotes are illegal characters in code, they are not valid

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