Aprenda formulários em HTML criando um formulário de registro - Passo 31

Conte-nos o que está acontecendo:

não consigo identificar o erro no meu código. alguém pode me ajudar a identifica-lo?
I accept the terms and conditions
terms and conditions

Seu código até o momento

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Registration Form</title>
    <link rel="stylesheet" href="styles.css" />
  </head>
  <body>
    <h1>Registration Form</h1>
    <p>Please fill out this form with the required information</p>
    <form method="post" action='https://register-demo.freecodecamp.org'>
      <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>
        <legend>Account type (required)</legend>
        <label for="personal-account"><input id="personal-account" type="radio" name="account-type" checked /> Personal</label>
        <label for="business-account"><input id="business-account" type="radio" name="account-type" /> Business</label>
      </fieldset>
      <fieldset></fieldset>

<!-- User Editable Region -->

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

<!-- User Editable Region -->

      <input type="submit" value="Submit" />
    </form>
  </body>
</html>
/* file: styles.css */
body {
  width: 100%;
  height: 100vh;
  margin: 0;
  background-color: #1b1b32;
  color: #f5f6f7;
}

label {
  display: block;
  margin: 0.5rem 0;
}

Informações do seu navegador:

Agente de usuário: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36

Informações do desafio:

Aprenda formulários em HTML criando um formulário de registro - Passo 31

Olá! Muito boa tentativa. Esta etapa deseja que coloquemos as tags de âncora, apenas em torno das palavras termos e condições, enquanto elas permanecem dentro da frase original.

Esta resposta foi traduzida usando o DuckDuckGo translate, que faz parceria com a Microsoft.

Olá! Muito boa tentativa. Esta etapa deseja que coloquemos as tags de âncora, apenas em torno das palavras termos e condições, enquanto elas permanecem dentro da frase original.
Example:

<label><input>This is <a href="some url>a link within the sentence</a></label>

Sugestão: remova as tags de âncora e o texto adicionados e coloque as tags de âncora somente ao redor do texto dentro da frase. Espero que isso ajude você. Desejando-lhe um bom progresso em sua jornada de codificação.

This is response has been translated using DuckDuckGo translate, which partners with Microsoft.

Hello !

Very good attempt.

This step wishes us to place the anchor tags, only around the words terms and conditions while they remain within the original sentence.

Suggestion: Remove the added anchor tags and text, and place the anchor tags only around the text within the sentence.

Example:

<label><input>This is <a href="some url>a link within the sentence</a></label>

I hope this helps you.

Wishing you good progress on your coding journey.

Conte-nos o que está acontecendo:

I accept the terms and conditions
terms and conditions

não consigo identificar onde está o erro no meu código. alguem pode me ajudar?
questao 31 html formulario

Seu código até o momento

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Registration Form</title>
    <link rel="stylesheet" href="styles.css" />
  </head>
  <body>
    <h1>Registration Form</h1>
    <p>Please fill out this form with the required information</p>
    <form method="post" action='https://register-demo.freecodecamp.org'>
      <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>
        <legend>Account type (required)</legend>
        <label for="personal-account"><input id="personal-account" type="radio" name="account-type" checked /> Personal</label>
        <label for="business-account"><input id="business-account" type="radio" name="account-type" /> Business</label>
      </fieldset>
      <fieldset></fieldset>

<!-- User Editable Region -->

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

<!-- User Editable Region -->

      <input type="submit" value="Submit" />
    </form>
  </body>
</html>
/* file: styles.css */
body {
  width: 100%;
  height: 100vh;
  margin: 0;
  background-color: #1b1b32;
  color: #f5f6f7;
}

label {
  display: block;
  margin: 0.5rem 0;
}

Informações do seu navegador:

Agente de usuário: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36

Informações do desafio:

Aprenda formulários em HTML criando um formulário de registro - Passo 31

The link to the terms and conditions is supposed to be inside the label element, using its text for the link. You are not meant to repeat terms and conditions.

Example:

<label><input type="checkbox">Some label text with <a href="/someplace">a link</a></label>