I am stucked. Please help

Tell us what’s happening:
Describe your issue in detail here.

  **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://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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://www.freecatphotoapp.com/submit-cat-photo">
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
<label> 
 <input type="radio" name="indoor-outdoor">Indoor
</lebel>

<label> 
 <input type="radio" name="indoor-outdoor">outdoor 
</label>
</form>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.83 Safari/537.36

Challenge: Create a Set of Radio Buttons

Link to the challenge:

Copy the example and paste twice. Leave one the same, change the other from “indoor” to “outdoor”

You may want to Go ahead and RESET the tutorial:

There are a few Errors here:


FIRST: Do you notice the Misspelling of </label>

Screenshot 2022-04-03 12.50.42 PM


SECOND: THESE ARE THE LINES OF CODE THAT HAD BEEN INPUTTED,
AND THE CODE REFERRED TO BY THE TUTORIAL:


Can you see the difference…

image

THE SAME CODE IS WRITTEN OUT HERE:



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

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

Go ahead and change your code


The Code should by placed Somewhere within the <form> </form> Element:

Screenshot 2022-04-03 1.04.11 PM

Thank you very much. I saw the mistakes and i solved it

1 Like

Good Job.
ㅤㅤㅤㅤㅤ ㅤㅤ ㅤㅤㅤㅤㅤ ㅤ ㅤㅤㅤㅤ ㅤㅤㅤㅤ ㅤㅤ ㅤㅤㅤㅤㅤ ㅤ ㅤㅤㅤㅤ ㅤㅤㅤㅤ ㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤ ㅤㅤㅤㅤㅤ ㅤ ㅤㅤㅤㅤ ㅤㅤㅤㅤ ㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤ

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.