Tell us what’s happening:
Stuck on question 31
"Add the text I accept the terms and conditions immediately after the input element in the newly added label.
Then link the text terms and conditions to the following location:
freeCodeCamp's Terms of Service"
My code so far…
I accept the terms and conditions
Your code so far
<!-- file: index.html -->
<!-- User Editable Region -->
<label for="terms-and-conditions"><input required id="terms-and-conditions" type="checkbox" > I accept the <a href="https://www.freecodecamp.org/news/terms-of-service">terms and conditions</a></label>
<!-- User Editable Region -->
/* file: styles.css */
body {
width: 100%;
height: 100vh;
margin: 0;
background-color: #1b1b32;
color: #f5f6f7;
}
label {
display: block;
margin: 0.5rem 0;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Challenge Information:
Learn HTML Forms by Building a Registration Form - Step 31