Files

962 B

id, title, challengeType, dashedName
id title challengeType dashedName
60eebd07ea685b0e777b5583 Step 1 0 step-1

--description--

Welcome to the Registration Form 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));

Your DOCTYPE declaration should be at the beginning of your HTML.

assert(__helpers.removeHtmlComments(code).match(/^\s*<!DOCTYPE\s+html\s*>/i));

--seed--

--seed-contents--

--fcc-editable-region--

--fcc-editable-region--