Não consigo resolver o exercício 61. A plataforma está com algum erro que não passa o valor “checked”. Já no Vscode eu consegui fazer. Ajudem! Arrumem por favor! Lembrando: (Coloquei a marcação no primeiro input como pede)
Please post your actual code instead of a picture of your computer. Also, please post a link to the Step. Thank you
<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>
<fieldset>
<legend>What's your cat's personality?</legend>
<input id="loving" type="checkbox" name="personality" value="loving"> <label for="loving" >Loving</label>
<input id="lazy" type="checkbox" name="personality" value="lazy"> <label for="lazy">Lazy</label>
<input id="energetic" type="checkbox" name="personality" value="energetic"> <label for="energetic"> Energetic</label>
</fieldset>
[https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-61]
(https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-61)
Welcome to the forum @anavitoriasousa !
The first checkbox requires the text checked
placed inside the input element, just as you did it with the first radio button. But, it appears you forgot to leave a space after the value “indoor” in the radio button. I suggest adding a space so the program can recognize both as individual instructions. Enter the text into the first checkbox at the end, like you did, with a space before it.
If this helps you, please remember to check the Solution by @JeremyLT
as he was providing good guidance in requesting the complete code to resolve the problem?
Happy coding!
Indoor
Olá! Então, eu acredito que seja algum erro do site de entender a resposta correta do Step 61, pois, eu já fiz colocando o espaço antes e após o “Checked”, e mesmo assim, deu erro! Mas, como havia dito, fiz no VisualStudioCode e funcinou normalmente.
Olá!
Você está indo muito bem!
A área abaixo é onde o segundo ‘’‘verificado’‘’ precisa ser inserido no final do elemento de entrada.
Tente isso, por favor?
Você está tão perto do sucesso!
[quote="anavitoriasousa, post:3, topic:655728"]
<input id="loving" type="checkbox" name="personality" value="loving">
[/quote]
Thanks very much! I got it.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.