Learn HTML by Building a Cat Photo App - Step 48

Tell us what’s happening:

its saying both radio buttons should be between the label tags but they are

Your code so far


<!-- User Editable Region -->

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

<!-- User Editable Region -->

          <input type="text" name="catphotourl" placeholder="cat photo URL" required>
          <button type="submit">Submit</button>
        </form>
      </section>
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Edg/128.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 48

Hi and welcome to the forum!

I think this code was meant to be 2 lines so I’m going to split it up for you so you can see the problem easier:

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

Since there are 2 buttons, there should be 2 label elements.
I count only one. Do you see?