Cuéntanos qué está pasando:
In order to make a checkbox checked or radio button selected by default, you need to add the checked
attribute to it. There’s no need to set a value to the checked
attribute. Instead, just add the word checked
to the input
element, making sure there is space between it and other attributes.
Quiero saber que esta mal?
Make the first radio button and the first checkbox selected by default.
**Tu código hasta el momento**
<fieldset>
<legend>Is your cat an indoor or outdoor cat?</legend>
<label><input id="indoor" type="radio" name="indoor-outdoor" value="indoor" checked> Indoor</label>
<label><input id="outdoor" type="radio" name="indoor-outdoor" value="outdoor"> Outdoor</label>
</fieldset>
**Información de tu navegador:**
El agente de usuario es: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Desafío: Aprende HTML construyendo una aplicación de fotos de gatos - Step 60
Enlaza al desafío: