I don't understand: "Give your radio buttons the name attribute of indoor-outdoor."

Tell us what’s happening:
Describe your issue in detail here.
The problems are inside the first to last labels. I don’t understand what it means to “give your radio button a name attribute of indoor-outdoor”. I already typed them in, yet my code is not working. Does anyone know how to solve this?

  **Your code so far**

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

<a href="#"><img src="https://www.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://www.freecatphotoapp.com/submit-cat-photo">
<label for="indoor"> 
 <input type="radio" name=“indoor-outdoor”>indoor
 <input type="radio" name=(“indoor-outdoor”)>outdoor
 <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.212 Safari/537.36

Challenge: Create a Set of Radio Buttons

Link to the challenge:

As explained in the lesson, All related radio buttons should have the same name attribute to create a radio button group. By creating a radio group, selecting any single radio button will automatically deselect the other buttons within the same group ensuring only one answer is provided by the user.

There are a couple of issues I see that cause the test to fail.

  1. The quotes are incorrect. The need to be straight quotes, like this ". You need to turn off smart quotes.
  2. The second name attribute has the value surrounded by parens. They should not be there.

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