808 B
808 B
id | title | challengeType | dashedName |
---|---|---|---|
5d822fd413a79914d39e98c9 | Part 1 | 0 | part-1 |
--description--
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.
--hints--
Your code should contain the DOCTYPE
reference.
assert(code.match(/<!DOCTYPE/gi));
You should include a space after the DOCTYPE
reference.
assert(code.match(/<!DOCTYPE\s+/gi));
You should define the document type to be html
.
assert(code.match(/html/gi));
You should close the DOCTYPE
declaration with a >
after the type.
assert(code.match(/html\s*>/gi));
--seed--
--seed-contents--
--fcc-editable-region--
--fcc-editable-region--