I am stuck at this it's coming name attribute ...? Tell me how to resolve it

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="/submit-cat-photo">
  <input type="text" placeholder="cat photo URL" required>
<input type="radio" name"indoor-outdoor"> Indoor 
<input type="radio" name"indoor-outdoor"> Outdoor 


Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 4.4.4; SD4930UR) AppleWebKit/537.36 (KHTML, like Gecko) Silk/71.2.4 like Chrome/71.0.3578.98 Mobile Safari/537.36.

Challenge: Create a Set of Radio Buttons

Link to the challenge:

1 Like

Hello there.

You have a simple typo. What you have:

<input type="radio" name"indoor-outdoor">

Look at this line. It is comprised of an input element with 2 attributes. 1 attribute is declared correctly, the other is not.

Hope this helps

1 Like

inside your input element you should use an equal “=” sign with your name attribute. if you dont use equal sign with attributes in html and semicolons in CSS then the browser will not understand and ignore the part of your markup.

so, keep that in your mind.