Learn HTML Forms by Building a Registration Form - Step 30

Tell us what’s happening:
I don’t know how to link the text terms and conditions in the third label to the following location:

https://www.freecodecamp.org/news/terms-of-service

Your code so far

  <fieldset>
    <label for="first-name">Enter Your First Name: <input id="first-name" type="text" required /></label>
    <label for="last-name">Enter Your Last Name: <input id="last-name" type="text" required /></label>
    <label for="email">Enter Your Email: <input id="email" type="email" required /></label>
    <label for="new-password">Create a New Password: <input id="new-password" type="password" pattern="[a-z0-5]{8,}" required /></label>
  </fieldset>
  <fieldset>
    <label for="personal-account"><input id="personal-account" type="radio" name="account-type" /> Personal Account</label>
    <label for="business-account"><input id="business-account" type="radio" name="account-type" /> Business Account</label>
    <label for="terms-and-conditions"><input id="terms-and-conditions" type="checkbox" required /> I accept the terms and conditions</label>
  </fieldset>
  <fieldset></fieldset>
  <input type="submit" value="Submit" />
</form>
```

Surround the words “terms and conditions” with anchor tags:

<label><input>Text <a href="url">text</a></label>

This is guidance.

P.S.
If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

1 Like

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