Learn HTML Forms by Building a Registration Form - Step 26

Is this a bug?:
Aint no way the ai is saying You should only wrap the a element around the text terms and conditions . I wrap it and still gets an error

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

Challenge: Learn HTML Forms by Building a Registration Form - Step 26

Link to the challenge:

Screenshot 2022-07-30 191638

Hey there! Welcome to the freeCodeCamp’s community forums.

Remove the whitespace that sorrounds “terms and conditions” and this should work just fine.

Hope this helps! :smile:

1 Like

It works bro thank you, I didn’t realize whitespace can cause error.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.