BELKIS1
November 1, 2020, 11:49pm
1
I DON’t have any idea concerning coding. i figured why not try something new but here i am stuck n this part lol . somebody pleas help !!
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>
<label>
<input type="radio" name="indoor-outdoor">indoor</label>
<input type="radio" name="indoor-outdoor">Outdoor</label>
<button type="submit">Submit</button>
<label for="indoor">
</form><label for="Outdoor"></label>
</main>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 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.
I guess you closed form before the last label
Sky020
November 2, 2020, 12:03am
3
Welcome, BELKIS.
You are almost there. What I recommend is resetting the code, and taking one more look at the example in the lesson.
From there, split the instructions up into its smallest parts:
Add two radio buttons to the form
Nest each radio button in its own label element.
One label should have indoor as its value
The other should have outdoor as its value
Add a name attribute with a value of indoor-outdoor to each radio. (look at the example)
Hope this helps
As well as you missed to write <form>
You did great with the buttons. Make sure each button is nested within its own label container. Each label container should have appropriate opening and closing tags such as " " and everything inside is considered to be nested , this is a hint! You can do it! Also, keep your label containers inside your form container. One label container appears to be outside the form container.
BELKIS1
November 2, 2020, 12:23am
6
thank you so much i was about to give up guess I’ll keep going
BELKIS1
November 2, 2020, 12:27am
7
thank you Mehdi .
I’ll try to concentrate more.
as if I am building a rocket lol
It’s okey @BELKIS1 we all started like that it’s pretty straightforward just keep your motivation up as well as your goal !