Files
freeCodeCamp/curriculum/challenges/english/04-data-visualization/d3-dashboard/step-005.md
Nicholas Carrigan (he/him) b36cdbafd1 chore: rename "part" to "step" (#43934)
* chore: rename part to step

* chore: update metas

* chore: more renaming

* chore: update tooling

* chore: update frontmatter

* chore(tools): title testing
2021-10-21 18:07:52 +01:00

56 lines
779 B
Markdown

---
id: 5d8a4cfbe6b6180ed9a1c9e2
title: Step 5
challengeType: 0
dashedName: step-5
---
# --description--
Next, add a container for the dashboard. Put an empty `div` element in the body with class of `dashboard`. You will be appending all the dashboard elements to this div.
# --hints--
test-text
```js
assert($('div.dashboard').length === 1);
```
# --seed--
## --seed-contents--
```html
<!DOCTYPE html>
<html>
<head>
<title>D3 Dashboard</title>
<link rel="stylesheet" href="./dashboard.css">
</head>
<body>
</body>
</html>
```
# --solutions--
```html
<!DOCTYPE html>
<html>
<head>
<title>D3 Dashboard</title>
<link rel="stylesheet" href="./dashboard.css">
</head>
<body>
<div class="dashboard"></div>
</body>
</html>
```