Radio buttons issues

Its telling me to name the radio buttons Indoor-outdoor and i think it did that but its not accepting it

  **my code so far**

<h2>CatPhotoApp</h2>
<main>
<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>
<ul>
  <li>cat nip</li>
  <li>laser pointers</li>
  <li>lasagna</li>
</ulI
<p>Top 3 things cats hate:</p>
<ol>
  <li>flea treatment</li>
  <li>thunder</li>
  <li>other cats</li>
</ol>
<form action="https://freecatphotoapp.com/submit-cat-photo">
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>

<label> 
  <input type="radio"name=“indoor-outdoor”>Indoor 
  </label>

<label> 
<input type="radio"name=“indoor-outdoor”>Outdoor 
</label>
  </form>
</main>

Challenge: Create a Set of Radio Buttons

Link to the challenge:

I think the issue is with your quotation marks, try it wit these: "

Thats excatly what i used

At least in the code you’ve shown, yours look a bit different. Perhaps try and copy/paste the ones I posted. That should solve the issue

In the code you have pasted for us, the quotes around indoor-outdoor is the wrong kind. And you can see the difference immediately to the left, where the quotes around radio is correct.

Your labels should be placed before the “submit” button, or it won’t have any data to submit, as well as having a space between your quotations and the “name” attribute, which helps the browser to recognize separation. Like this:

<form action="https://freecatphotoapp.com/submit-cat-photo">
<label><input type="radio" name="indoor-outdoor">Indoor</label> 
<label><input type="radio" name="indoor-outdoor">Outdoor</label>
<input type="text" placeholder="cat photo URL" required>
<button type="submit">Submit</button>

Hope that helps…

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

You can post solutions that invite discussion (like asking how the solution works, or asking about certain parts of the solution). But please don’t just post your solution for the sake of sharing it.
If you post a full passing solution to a challenge and have questions about it, please surround it with [spoiler] and [/spoiler] tags on the line above and below your solution code.

@JeremyLT My apologies. Aside from the last part with code I hope the rest of my reply was still acceptable.

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