Learn html forms by building registration form step 30 glitch

I can’t figure out the issue? It literally works yet the website still won’t let me pass.

Please help me out


Hi @ac82393 !

Welcome to the forum!

It would be better to write your code directly into the forum since images can be hard to read sometimes.

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

I have the same issue as ac82393. I already wrapped the anchor before the words “terms and conditions” and did not pass.

This is my code:

<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <title>Registration Form</title>
    <link rel="stylesheet" href="styles.css" />
    <h1>Registration Form</h1>
    <p>Please fill out this form with the required information</p>
    <form method="post" action='https://register-demo.freecodecamp.org'>
        <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>
        <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   <a href="https://www.freecodecamp.org/news/terms-of-service"> terms and conditions </a> </label>

Thanks for your help!

You have too many spaces in the sentence. Each word should be followed by exactly one space. And the words in the anchor text should not have extra spaces either.

If you still need help, please create your own post using the ask for help button which looks like a question mark.


lol basically ur not supposed to have spaces before and after “terms and conditions” as the a tags need to be directly touching the words you want to wrap around


Thanks @hbar1st @ac82393 . I removed the spaces and it worked. Sorry I was slow to update my result:)

1 Like

hello, bro may you help me with this step? I am not getting it.

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