freeCodeCamp/curriculum/challenges/italian/14-responsive-web-design-22/learn-html-forms-by-buildin.../60f5cb8875ab6a0610f05071.md

1.2 KiB

id title challengeType dashedName
60f5cb8875ab6a0610f05071 Step 13 0 step-13

--description--

Dato che il modulo avrà tre sezioni distinte, aggiungi tre elementi fieldset all'interno dell'elemento form.

--hints--

Dovresti aggiungere 3 elementi fieldset.

assert.equal(document.querySelectorAll('fieldset')?.length, 3);

I tre elementi fieldset dovrebbero essere all'interno dell'elemento form.

assert.equal(document.querySelectorAll('form > fieldset')?.length, 3);

I tre elementi fieldset dovrebbero essere fratelli.

assert.exists(document.querySelector('fieldset + fieldset + fieldset'));

--seed--

--seed-contents--

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Registration Form</title>
    <link rel="stylesheet" href="styles.css" />
  </head>
--fcc-editable-region--
  <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'>

    </form>
  </body>
--fcc-editable-region--
</html>
body {
  width: 100%;
  height: 100vh;
  margin: 0;
  background-color: #1b1b32;
  color: #f5f6f7;
}