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

1020 B

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

--description--

To spruce the project up, let us add some CSS. Begin by giving the body a width of 100%, and a height of 100vh.

--hints--

You should use the body element selector.

assert.exists(new __helpers.CSSHelp(document).getStyle('body'));

You should give the body a width of 100%.

assert.equal(new __helpers.CSSHelp(document).getStyle('body')?.width, '100%');

You should give the body a height of 100vh.

assert.equal(new __helpers.CSSHelp(document).getStyle('body')?.height, '100vh');

--seed--

--seed-contents--

<!DOCTYPE html>
<html>
  <head>
    <title>Registration Form</title>
	  <link rel="stylesheet" type="text/css" 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--

--fcc-editable-region--