Could you please help me find a mistake in my code?

Tell us what’s happening:
Hello, could you please help me find a mistake in my code. The code seems correct to me but it does not pass the test. Thank you in advance!
Your code so far

<form action="https://freecatphotoapp.com/submit-cat-photo">
 <input type="text"placeholder="cat photo URL"required>
 <button type="submit">Submit</botton>
 </form>
<form>
  <label for="indoor"> 
  <input id="indoor" type="radio" name="indoor-outdoor">Indoor 
</label>
</form> 
<form>
  <label for="indoor"> 
  <input id="indoor" type="radio" name="indoor-outdoor">Outdoor 
</label>
</form> 


Challenge: Create a Set of Radio Buttons

Link to the challenge:

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

this is the form element being checked, you should add everything in this element

Thank you for helping me edit my post. It was my first time posting something on the FreeCodeCamp and I didn’t know the proper way of doing so.
Do you mean that I should add the entire code for checking?

Never mind. I figured out. I found that I accidentally typed twice the code for Radio Buttons, one time right before the paragraph “Things cat love” and without proper form tag another one on the bottom of the page. This is why it didn’t go through. Thank you for your help.

You shouldn’t have 2 <form> elements. Use only one <form> element .So, you should place the radio buttons inside the previous <form> element

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