Error "You should not change the inner text of the Indoor label."

This ist the Task:

Set the first of your radio buttons and the first of your checkboxes to both be checked by default.

But I’m not allowed to change the text inside the “Label” element.

  **Your code so far**
<form action="https://www.freecatphotoapp.com/submit-cat-photo">
  <label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor" checked value="indoor"> Indoor</label>
  <label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label><br>
  <label for="loving"><input id="loving" type="checkbox" name="personality" checked value="loving"> Loving</label>
  <label for="lazy"><input id="lazy" type="checkbox" name="personality" value="lazy"> Lazy</label>
  <label for="energetic"><input id="energetic" type="checkbox" name="personality" value="energetic"> Energetic</label><br>
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>
  **Your browser information:**

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

Challenge: Check Radio Buttons and Checkboxes by Default

Link to the challenge:

Hello, @toto_noe! Your code works fine. Make sure you have disabled any addons such as addblocker or darkmode. If that doesn’t work, try switching browsers. :slightly_smiling_face:

1 Like

Thank you! Now it works.