What is wrong with code that I can't run it

Tell us what’s happening:

Your 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>
</ul>
<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>
  <label for="indoor ">
    <input id="indoor " type="radio " name="indoor-outdoor ">Indoor
    </label>
    <label for="outdoor ">
<input id="outdoor " type="radio" name="indoor-outdoor">Outdoor
</label>     
  <button type="submit">Submit</button>
</form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 8.1.0; itel A16 Plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Mobile Safari/537.36.

Challenge: Create a Set of Radio Buttons

Link to the challenge:

Hey @ychris,

Your enemy is a blank space.
Over here,

and here,

try "radio" and "indoor-outdoor"

Good Luck

1 Like

Tell us what’s happening:

Your 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>
</ul>
<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>
  <label for="indoor ">
    <input id="indoor " type="radio " name="indoor-outdoor ">Indoor
    </label>
    <label for="outdoor ">
<input id="outdoor " type="radio" name="indoor-outdoor">Outdoor
</label>     
  <button type="submit">Submit</button>
</form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 8.1.0; itel A16 Plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Mobile Safari/537.36.

Challenge: Create a Set of Radio Buttons

Link to the challenge:

Hey @ychris,

Please don’t create multiple topics of a same problem, thank you.
The problems are blank spaces.

"outdoor  "
"indoor  "
"radio  "
"indoor-outdoor  "

Cheers.

2 Likes

But Ramease I have done the correction but still wont work the message is that your radio should have a name indoor-outdoor what is that

Hello~!

Please do not create duplicate topics for the same challenge/project question(s). I have merged your new topic into your old one.

Thank you.

1 Like

Try "indoor-outdoor" everywhere applicable

Can you please share your code?

You can use pre-formatted text for code like this:
preformatted text

1 Like

I have just share the code I mean the code below your last instruction to me that says don’t dublicate code

Am operating with Linux Android itel A16 do I have the option to share

Dont create duplicate topics

You can copy paste your code in the “same topic” for as many times as you wish.

Yes you can share your code independent of the os you are using.

2 Likes

Ramease you know that I still don’t understand it when you say that I should not create multiple or dublicate for one problem. Is it the blank space.