# Вивчіть форми HTML, створивши реєстраційну форму - Крок 31

**URL:** <https://forum.freecodecamp.org/t/html-31/732201>\
**Category:** General\
**Tags:** українська\
**Created:** [January 28, 2025, 5:18pm UTC](https://forum.freecodecamp.org/t/html-31/732201 "2025-01-28T17:18:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mechn1k](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/mechn1k/32/383839_2.png) [@Mechn1k](https://forum.freecodecamp.org/u/Mechn1k)\
**Post date:** [January 28, 2025, 5:18pm UTC](https://forum.freecodecamp.org/t/html-31/732201/1 "2025-01-28T17:18:38Z")

</div>

### Розкажіть нам, що сталося:

I don’t understand what I did wrong, everything seems to be perfect, but the site still does not accept the code

### Ваш код

```html
<!-- 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<a href="https://www.freecodecamp.org/news/terms-of-service/">terms and conditions</a></label>

<!-- User Editable Region -->

      <input type="submit" value="Submit" />
    </form>
  </body>
</html>

```

```css
/* file: styles.css */
body {
  width: 100%;
  height: 100vh;
  margin: 0;
  background-color: #1b1b32;
  color: #f5f6f7;
}

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

```

### Інформація про ваш браузер:

Агент користувача: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36`

### Інформація про завдання:

Вивчіть форми HTML, створивши реєстраційну форму - Крок 31

> **[freeCodeCamp.org](https://www.freecodecamp.org/ukrainian/learn/2022/responsive-web-design/learn-html-forms-by-building-a-registration-form/step-31)**
>
> Навчіться кодувати БЕЗКОШТОВНО

---

<div class="post-metadata">

**Author:** ![JeremyLT](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jeremylt/32/291894_2.png) [@JeremyLT](https://forum.freecodecamp.org/u/JeremyLT)\
**Post date:** [January 28, 2025, 5:19pm UTC](https://forum.freecodecamp.org/t/html-31/732201/2 "2025-01-28T17:19:23Z")

</div>

If you look at the preview window, you’ll see that the phrase “terms and conditions” appears twice instead of once.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 16, 2026, 5:18pm UTC](https://forum.freecodecamp.org/t/html-31/732201/3 "2026-01-16T17:18:33Z")

</div>

Closed on January 16, 2026, 5:18pm UTC

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