Learn HTML Forms by Building a Registration Form - 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:

freeCodeCamp's Terms of Service

I can’t get this to work and don’t really know how to fix it. Assistance por favor

My code so far

  <label for="terms-and-conditions"><input id="terms-and-conditions" type="checkbox" required />I accept<a href="https://www.freecodecamp.org/news/terms-of-service">terms and conditions</a></label>

Link to the challenge:

You are very close. The issue is with the part of the text before the link.

I accept<a href=

The text before the link should be I accept the .

Notice that there should be a space right before the opening a tag.

3 Likes

Thank you so much!:pray:t6:

1 Like

I think I did the right thing… and its still not working.

here is my code so far:

I accept the terms and conditions

Hi, I think I did the right thing. But its not working for me.:
Here is my code so far, Please help.

<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>

3 Likes

Welcome to the community!

Please create your own post using the help that appears after three unsuccessful attempts at any step in Responsive Web Design?
By do this, it will allow you to post your complete code, as well as receive direct and accurate guidance from the community.

Thanks!

1 Like