January 22, 2023, 12:03pm
What is the wrong here :
Describe your issue in detail here.
<!-- TODO: Add link to cat photos -->
<p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
<a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
<h3>Things cats love:</h3>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg" alt="A slice of lasagna on a plate.">
<figcaption>Cats <em>love</em> lasagna.</figcaption>
<h3>Top 3 things cats hate:</h3>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/cats.jpg" alt="Five cats looking around a field.">
<figcaption>Cats <strong>hate</strong> other cats.</figcaption>
<!-- User Editable Region -->
<label><input id="indoor" type="radio"> Indoor </label>
<!-- User Editable Region -->
<input type="text" name="catphotourl" placeholder="cat photo URL" required>
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/220.127.116.11 Safari/537.36
Challenge: Learn HTML by Building a Cat Photo App - Step 46
Link to the challenge:
January 22, 2023, 12:08pm
Hi, welcome to the forum!
We see you have posted some code but did you have a question?
January 22, 2023, 12:28pm
The last line
what is the error
it is saying to radio should be in the label
January 22, 2023, 12:33pm
First error you have is the value you provided to the
action attriute. You should
ensure to close all quotes.
Second error you have is
you closed the form earlier than expected. The
input and the
label should be nested in the
If you can take care of these the challenge would pass. Be careful with the quotes for your HTML attributes and also watchout not to close your tags prematurely.
January 22, 2023, 12:51pm
By the way, welcome to the FCC community.
January 22, 2023, 12:53pm
no i need help in the radio button means the last sign of the code
January 22, 2023, 12:57pm
to make the step’s test see the radio button correctly, the other code needs to be fixed.
You can click the reset button (which has an arrow turning on it) to undo the changes you made and then simply add the id attribute as requested.
January 22, 2023, 1:02pm
radio element is already nested correctly in the
label but your other codes are wrong so the test isn’t passing.
I advice doing this:
and starting the challenge over
January 22, 2023, 2:51pm
still not working
the kept it as nested
January 22, 2023, 3:03pm
Did you reset the code as it was suggested above?
January 22, 2023, 3:35pm
The correct code:
Mod Edit: SOLUTION REMOVED
please note the difference. You did not close your opening
form tag correctly and the label tag goes within the form tag
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.