Help me understand finish

im stuck

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="/submit-cat-photo">
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36.

Challenge: Create a Set of Radio Buttons

Link to the challenge:

Per the challenge instructions, we need to create a pair of radio buttons. It gives the following example of how to make a radio button:

<label for="indoor"> 
  <input id="indoor" type="radio" name="indoor-outdoor">Indoor 
</label>

We need to make one for indoor, and one for outdoor. The radio buttons are inputs, so they need to go inside of the <form> tag. When the submit button gets clicked, all of the <input> tag contents get sent to /submit-cat-photo.

I’d start by making the <label> tags for the indoor and outdoor options and put them in the <form> tag right before the first <input> tag. When you have the <label> for input and output, then put the <input> tags inside of them.

go to the next challenge look at the changes try to read the instructions and u will get it

Im also stuck there and how did u get my email adress

Nobody has your email address. Depending upon your forum settings you might get email updates for topics you have replied to or created.

Have you written any code for adding the radio button? Above I just see the initial code for the challenge.

if i press the get help button i ask for help it tells me to post a forum

Correct. To be able to help you I need to know if you have written any code. I can’t help you troubleshoot code you haven’t written!

Was there a particular part of the instructions or @OmegaPointZero’s explanation that did not make sense to you?

let me check give me time

i cant see him on my profile!

I am talking about his reply right here.

let me send to my code

sent it on forum title is help me finish this jermy

Tell us what’s happening:
there it is

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="/submit-cat-photo">
<label for="indoor"> <label><input type="radio" name="indoor-outdoor"> Indoor</label>
 <label for="outdoor">  <label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
  <label><input type="checkbox" name="personality"> Loving</label>
  <label><input type="checkbox" name="personality"> Lazy</label>
  <label><input type="checkbox" name="personality"> Energetic</label><br>
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36.

Challenge: Use the value attribute with Radio Buttons and Checkboxes

Link to the challenge:

Please do not create multiple topics for the same question. I have merged your threads.

Two issues:

  1. Why do you have checkboxes? This challenge is not asking for checkboxes?

  2. Your label tags do not match the example. Can you see the differences between

<label for="indoor"> 
  <input id="indoor" type="radio" name="indoor-outdoor">Indoor 
</label>

and

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

i dont see any difference

removing all attributes and text you have
<label><label><input></label>
isn’t there something extra?

1 Like

thanks for your support

hi,
can i see m y html certifacate