Files

52 lines
933 B
Markdown
Raw Permalink Normal View History

---
id: 60f1a5e2d2c23707a4f9a660
title: Step 8
challengeType: 0
dashedName: step-8
---
# --description--
Now, get rid of the horizontal scroll-bar, by setting the `body` default `margin` added by some browsers to `0`.
# --hints--
You should add `margin` within the `body` element selector.
```js
assert.isNotEmpty(new __helpers.CSSHelp(document).getStyle('body')?.margin);
```
You should give the `margin` a value of `0`.
```js
assert.equal(new __helpers.CSSHelp(document).getStyle('body')?.margin, '0px');
```
# --seed--
## --seed-contents--
```html
<!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>
```
```css
--fcc-editable-region--
body {
width: 100%;
height: 100vh;
}
--fcc-editable-region--
```