Learn HTML by Building a Cat Photo App - Step 46

  <section>
    <h2>Cat Form</h2>
    <form action="https://freecatphotoapp.com/submit-cat-photo">
      <label><input type="radio"> Indoor</label>
      <input type="text" name="catphotourl" placeholder="cat photo URL" required>
      <button type="submit">Submit</button>
    </form>
  </section>

Task:Add an id attribute with the value indoor to the radio button
Where to insert the attribute id?

<label><input type="radio"> Indoor</label>

The id attribute needs to go in the input element of this line.

1 Like

Thank you, it worked)

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