Link to website

I’m supposed to link the terms and conditions the website, this is what i got.

       <label><input type="radio" name="account-type" /> Personal Account</label>
        <label><input type="radio" name="account-type" /> Business Account</label>
        <label><input 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>

This is the link to the challenge

I’ve edited your post 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 (’).

HI @stepheno8 !

It looks like you have terms and conditions twice.
Screen Shot 2022-05-24 at 10.03.15 PM

The challenge wants you to take this terms and conditions here

and turn that into a link.

Hope that helps!

Its telling me that I should use a <a> element to link the terms and conditions…

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

This is what I have and its coming up wrong…

Yes, you are correct that you need to use anchor tag to create the link.
The issue is that you were supposed to wrap the anchor tags around terms and conditions here

instead you created a whole new terms and conditions right below with the anchor tag

You see how terms and conditions shows up twice here

Wrap your anchor tags around the first terms and conditions I showed you and the test will pass.

Hope that clears it up.

Sweet, you are awesome, thank you so much…

1 Like