Cuéntanos qué está pasando:
No encuentro el error en el codigo. La consola indica que es incorrecto sin embargo el codigo cumple con los requisitos necesarios.
Desafio:
Step 31
Add I accept the terms and conditions
text to the newly added label, then link the text terms and conditions
to the following location:
https://www.freecodecamp.org/news/terms-of-service/
La consola reporta lo siguiente:
// ejecutando pruebas
You should use an a
element to link to the terms and conditions.
You should only wrap the a
element around the text terms and conditions
.
// pruebas completadas
Tu código hasta el momento
<label for="terms-and-conditions"> I accept the <a href="https://www.freecodecamp.org/news/terms-of-service/">terms and conditions</a> <input id="terms-and-conditions" type="checkbox" required />
</label>
Desafío: Aprende formularios HTML construyendo un formulario de registro - Step 31
Enlaza al desafío: