I fixed linking the URL with the text but for some reason it still wont work. I think its the placement of the text. It says to put it right after the input element within the label element.
<
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.
Then link the text terms and conditions to the following location:
You need to link the phrase terms and conditions using an anchor element. Add the opening and closing <a href="...> </a> tags around those words, with the URL in the achor’s opening tag.
You almost had it here:
>I accept the terms and conditions</label><a href="https://www.freecodecamp.org/news/terms-of-service/">terms and conditions>
Except you added new “terms and conditions” text instead of using the existing text, and you didn’t use the closing tag correctly </a>
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.