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

1.0 KiB

id title challengeType dashedName
60f1a5e2d2c23707a4f9a660 Step 9 0 step-9

--description--

Ora, rimuovi la barra di scorrimento orizzontale, impostando a 0 la proprietà margin dell'elemento body che a volte viene aggiunta di default da alcuni browser.

--hints--

Dovresti aggiungere la proprietà margin all'interno del selettore body.

assert.isNotEmpty(new __helpers.CSSHelp(document).getStyle('body')?.margin);

Dovresti assegnare allla proprietà margin il valore 0.

assert.equal(new __helpers.CSSHelp(document).getStyle('body')?.margin, '0px');

--seed--

--seed-contents--

<!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>
  </body>
</html>
--fcc-editable-region--
body {
  width: 100%;
  height: 100vh;
}
--fcc-editable-region--