Learn HTML Forms by Building a Registration Form - Step 29

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
/* 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 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>
<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><input type="checkbox" required />
<a href ="https://www.freecodecamp.org/news/terms-of-service/">
terms and conditions
</a></label>

</fieldset>
    <fieldset></fieldset>
    <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;
}

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

Challenge: Learn HTML Forms by Building a Registration Form - Step 29

Link to the challenge:

Hello there.

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

1 Like

hi there,

Step 29

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/

. this the question and iam out of idea , idk what to do!!

Can you be more specific about what pieces of the instructions are confusing?

Is it the work link? Do you recall how to create an anchor element?

<label><input type="checkbox" required />

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

terms and conditions

</a>

</label>

.this part

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

That’s code. I’m trying to ask you to communicate in your own human words to a fellow human.

There was originally more text that that for this checkbox, right? You need to leave the full sentence there, but turn the required phrase into a link.

so I just post the question and my code and the part of code that need to be handle ,
so, what is wrong kindly review previous posts
thanks

Kindly please read the above. I think that you are missing part of the sentence that’s supposed to be inside of the label.

You posted the instructions and your code. I’m still trying to get you describe how you are stuck in your own words. It’s important to practice talking about code in your own words if you intend to get a job programming.

1 Like

He’s asking you to describe the problem in your own words because it helps you learn how to code more effectively if you can describe the problem. Then he can reason with you so you are able to figure out the solution without just being told what the solution is. Hope this helps.

1 Like

It’s because you have to include the tag only in “terms and conditions”, but you probably doesn’t included the other part of phrase which is “I accept the”. And this other part have to be include in:
“<label…><input…/> I accept the <a…>terms and conditions
”.

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