Step 61- cat photo radio button confusion

Tell us what’s happening:

in my code the lesson is telling me the first radio button is not checked.

Describe your issue in detail here:

the issue i’m struggling with is that the value works on the test page. 1. the checked attribute is last read on the code line inside the 1st radio button. 2. there is a space between it and all other attributes.

my question:

is there a reason that i can apply to explain why im unable to proceed?.
Or a value in the code line ive missed?. thank you to those who attempted to help previously.

Your code so far

  <legend>Is your cat an indoor or outdoor cat? </legend>
        <input -id="indoor" type="radio" name="indoor-outdoor" 
          value="indoor" checked >
       <input id="outdoor" type="radio" name="indoor-outdoor" 

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

looks like it’s missing a space on the first radio

I’ve edited your code 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 (').

there are some > missing, and you have a - before id="indoor" that should not be there