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

1.1 KiB

id title challengeType dashedName
60f030d388cb74067cf291c3 Step 7 0 step-7

--description--

Sotto l'intestazione, utilizza il seguente testo all'interno di un elemento paragrafo per permettere agli utenti di registrarsi:

Please fill out this form with the required information

--hints--

Dovresti aggiungere un elemento p all'elemento body.

assert.exists(document.querySelector('body > p'));

Dovresti aggiungere l'elemento p al di sotto dell'elemento h1.

assert.exists(document.querySelector('h1 + p'));

Dovresti assegnare all'elemento p il testo Please fill out this form with the required information.

assert.equal(document.querySelector('p')?.innerText, 'Please fill out this form with the required information');

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

  </body>
--fcc-editable-region--
</html>