king2
April 1, 2020, 5:27pm
1
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:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
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.
king2
April 6, 2020, 1:12pm
4
go to the next challenge look at the changes try to read the instructions and u will get it
king2
April 8, 2020, 3:58pm
5
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.
king2
April 8, 2020, 4:07pm
7
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?
king2
April 8, 2020, 4:09pm
9
let me check give me time
king2
April 8, 2020, 4:11pm
10
i cant see him on my profile!
I am talking about his reply right here .
king2
April 8, 2020, 4:16pm
13
sent it on forum title is help me finish this jermy
king2
April 8, 2020, 4:15pm
14
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:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
Please do not create multiple topics for the same question. I have merged your threads.
Two issues:
Why do you have checkboxes? This challenge is not asking for checkboxes?
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>
king2
April 9, 2020, 9:36am
17
i dont see any difference
ILM
April 9, 2020, 10:09am
18
removing all attributes and text you have
<label><label><input></label>
isn’t there something extra?
1 Like
king2
April 13, 2020, 5:51am
20
hi,
can i see m y html certifacate