curriculum/challenges/english/blocks/learn-css-flexbox-by-building-a-photo-gallery/615f171d05def3218035dc85.md
Remove the margin from your body element, set the font-family to sans-serif, and give it a background-color of #f5f6f7 as the value.
You should have a body selector.
assert.exists(new __helpers.CSSHelp(document).getStyle('body'));
Your body selector should have a margin property set to 0 as the value.
assert.equal(new __helpers.CSSHelp(document).getStyle('body')?.marginTop, '0px');
assert.equal(new __helpers.CSSHelp(document).getStyle('body')?.marginBottom, '0px');
assert.equal(new __helpers.CSSHelp(document).getStyle('body')?.marginLeft, '0px');
assert.equal(new __helpers.CSSHelp(document).getStyle('body')?.marginRight, '0px');
Your body selector should have a font-family property set to sans-serif as the value.
assert(new __helpers.CSSHelp(document).getStyle('body')?.fontFamily === 'sans-serif');
Your body selector should have a background-color property set to #f5f6f7 as the value.
assert(new __helpers.CSSHelp(document).getStyle('body')?.backgroundColor === 'rgb(245, 246, 247)');
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Photo Gallery</title>
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<header class="header">
<h1>css flexbox photo gallery</h1>
</header>
<div class="gallery">
</div>
</body>
</html>
* {
box-sizing: border-box;
}
--fcc-editable-region--
--fcc-editable-region--
.gallery img {
width: 100%;
max-width: 350px;
height: 300px;
}