2019-11-04 21:01:05 -06:00
|
|
|
---
|
|
|
|
id: 5d822fd413a79914d39e98ce
|
|
|
|
title: Part 6
|
|
|
|
challengeType: 0
|
2021-01-13 03:31:00 +01:00
|
|
|
dashedName: part-6
|
2019-11-04 21:01:05 -06:00
|
|
|
---
|
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
# --description--
|
2019-11-04 21:01:05 -06:00
|
|
|
|
|
|
|
Also add a `box-sizing` of `border-box` to the everything. This will make it so the border you added doesn't add any size to your elements.
|
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
# --hints--
|
2019-11-04 21:01:05 -06:00
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
test-text
|
2019-11-04 21:01:05 -06:00
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
```js
|
|
|
|
assert($('#display-body').css('box-sizing') === 'border-box');
|
2019-11-04 21:01:05 -06:00
|
|
|
```
|
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
# --seed--
|
2019-11-04 21:01:05 -06:00
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
## --seed-contents--
|
2019-11-04 21:01:05 -06:00
|
|
|
|
|
|
|
```html
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>freeCodeCamp Skyline Project</title>
|
|
|
|
<style>
|
|
|
|
* {
|
|
|
|
border: 1px solid black;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
```
|
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
# --solutions--
|
2019-11-04 21:01:05 -06:00
|
|
|
|
|
|
|
```html
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>freeCodeCamp Skyline Project</title>
|
|
|
|
<style>
|
|
|
|
* {
|
|
|
|
border: 1px solid black;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
```
|