Learn to build a Registration Form

To finish this fieldset off, link the text terms and conditions in the third label to the following location:

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

I have tried everything I can think of and nothing is working.

Hint

You should use an a element to link to the terms and conditions. This is the message I keep getting.

    <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>
    <a href="https://www.freecodecamp.org/news/terms-of-service/"> terms and conditions</a>
  </fieldset>

Please post your actual code and a link to the challenge. Thanks

It is much easier if you use the Ask For Help button in the future.

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

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

I don’t see any anchor element?

<a href="https://www.freecodecamp.org/news/terms-of-service/"> terms and conditions</a>

hi, welcome to the forum.

To get help please start by sharing your code in full inside a code-block (You can edit the original post)

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

Ok, where did you put that anchor element?

Please use words to talk with us! We are humans, not robots!!

I am trying to. It is not letting me copy the code I had. Sorry I am new to this.

I think I edited it right.

Can you also post a link to the challenge for those of us who don’t want to go searching for it? (thanks in advance)

https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-forms-by-building-a-registration-form/step-29 strong text

thanks for that. I remembered the step but didn’t want to advise without double-checking first.

You are given the following text inside a label:
I accept the terms and conditions

At the moment this text is not clickable (you can see that in the preview pane).

What they want is to make the last 3 words only into a link so that they appear clickable (using the given link info in the exercise).

So you should end up with something that looks like:
I accept the terms and conditions

Hopefully you know how to proceed from here…

That is exactly how it looks. But it keeps saying it is wrong.

your latest code doesn’t do that for me, but maybe I don’t have your latest code.
Can you post your full code here?

look at what happened here.
You have a link underneath the original label.

That’s not what they want.
They want the label to be the link. (refer to my first explanation if needed)