# Responsive Web Design Certification Projects

**URL:** <https://forum.freecodecamp.org/t/responsive-web-design-certification-projects/352271>\
**Category:** General\
**Created:** [February 21, 2020, 5:50pm UTC](https://forum.freecodecamp.org/t/responsive-web-design-certification-projects/352271 "2020-02-21T17:50:43Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![caleb-mabry](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/caleb-mabry/32/134224_2.png) [@caleb-mabry](https://forum.freecodecamp.org/u/caleb-mabry)\
**Post date:** [February 21, 2020, 7:22pm UTC](https://forum.freecodecamp.org/t/responsive-web-design-certification-projects/352271/4 "2020-02-21T19:22:16Z")

</div>

> [@wkay42](#):
>
> Also, I can’t seem to get rid of some white space at the very bottom of some of my webpages.

CodePen handles the HTML portion differently. The code that you put into the editor is already in a boilerplate format. You can read more about it [at this link](http://forum.freecodecamp.org/t/when-you-write-code-on-codepen-do-you-need-to-use-an-html-boilerplate/176457).

I think the reason that you’re confused is because your code to CodePen looks like

```auto
<body>
  <main id="main">
    <body>
      ...
    </body>
  </main>
</body>

```

This is because CodePen already creates the

```auto
<html>
  <head>
  </head>
  <body>
   < !-- __This is where the html portion of your code goes__ -->
  </body>
</html>

```

So a simple solution to getting rid of the white space at the bottom would be changing your css rule!

```auto
body {
  padding: 0;
  margin: 0 0 0 0;
  font-family: "Courier New"
}

```

to

```auto
body {
  background-color: red;
  padding: 0;
  margin: 0;
  font-family: "Courier New"
}

```

That’ll let the red background cover the entire viewport! Also, as a fun little tid-bit, I’ve used the margin shorthand. Instead of saying:

```auto
margin: 0 0 0 0;

```

You can use:

```auto
margin: 0;

```

Read more about the margin shorthand here!  
[https://www.w3schools.com/cssref/pr\_margin.asp](https://www.w3schools.com/cssref/pr_margin.asp)

---

_[View the full topic](https://forum.freecodecamp.org/t/responsive-web-design-certification-projects/352271)._
