2020-02-25 22:53:07 -06:00
|
|
|
---
|
|
|
|
id: 5d8a4cfbe6b6180ed9a1c9e0
|
2021-10-21 10:07:52 -07:00
|
|
|
title: Step 3
|
2020-02-25 22:53:07 -06:00
|
|
|
challengeType: 0
|
2021-10-21 10:07:52 -07:00
|
|
|
dashedName: step-3
|
2020-02-25 22:53:07 -06:00
|
|
|
---
|
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
# --description--
|
2020-02-25 22:53:07 -06:00
|
|
|
|
|
|
|
In the head, add a `title` of `D3 Dashboard`.
|
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
# --hints--
|
2020-02-25 22:53:07 -06:00
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
test-text
|
2020-02-25 22:53:07 -06:00
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
```js
|
|
|
|
assert(
|
|
|
|
/<head\s*>\s*<title\s*>D3 Dashboard<\/title\s*>\s*<\/head\s*>/g.test(code)
|
|
|
|
);
|
2020-02-25 22:53:07 -06:00
|
|
|
```
|
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
# --seed--
|
2020-02-25 22:53:07 -06:00
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
## --seed-contents--
|
2020-02-25 22:53:07 -06:00
|
|
|
|
|
|
|
```html
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
```
|
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
# --solutions--
|
2020-02-25 22:53:07 -06:00
|
|
|
|
|
|
|
```html
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>D3 Dashboard</title>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
```
|