2019-11-04 21:01:05 -06:00
---
id: 5d822fd413a79914d39e98c9
2021-10-21 10:07:52 -07:00
title: Step 1
2019-11-04 21:01:05 -06:00
challengeType: 0
2021-10-21 10:07:52 -07:00
dashedName: step-1
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
2021-07-16 04:46:40 +01:00
Welcome to the CSS Variables Skyline project! Start by adding the `!DOCTYPE html` declaration at the top of the document so the browser knows what type of document it's reading.
2019-11-04 21:01:05 -06:00
2020-11-27 19:02:05 +01:00
# --hints--
2019-11-04 21:01:05 -06:00
2021-07-16 04:46:40 +01:00
Your code should contain the `DOCTYPE` reference.
2019-11-04 21:01:05 -06:00
2020-11-27 19:02:05 +01:00
```js
2021-07-16 04:46:40 +01:00
assert(code.match(/< !DOCTYPE/gi));
```
You should include a space after the `DOCTYPE` reference.
```js
assert(code.match(/< !DOCTYPE\s+/gi));
```
You should define the document type to be `html` .
```js
assert(code.match(/html/gi));
```
You should close the `DOCTYPE` declaration with a `>` after the type.
```js
assert(code.match(/html\s*>/gi));
2019-11-04 21:01:05 -06:00
```
2022-02-10 14:28:55 -08:00
Your `DOCTYPE` declaration should be at the beginning of your HTML.
```js
assert(__helpers.removeHtmlComments(code).match(/^\s*<!DOCTYPE \s+html \s*> /i));
```
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
2021-07-16 04:46:40 +01:00
--fcc-editable-region--
2019-11-04 21:01:05 -06:00
2021-07-16 04:46:40 +01:00
--fcc-editable-region--
2019-11-04 21:01:05 -06:00
```