Files
Nicholas Carrigan (he/him) ca6f5dbbcd chore: rename registration form (#44202)
* chore: rename files

* chore: update codebase

* chore: proper title case
2021-11-19 21:18:01 -06:00

929 B

id, title, challengeType, dashedName
id title challengeType dashedName
60f027099a15b00485563dd2 Step 2 0 step-2

--description--

Add opening and closing html tags below the DOCTYPE so you have a place to start putting some code.

--hints--

Your html element should be below the DOCTYPE declaration.

assert(code.match(/(?<!<html\s*>)<!DOCTYPE\s+html\s*>/gi));

Your html element should have an opening tag.

assert(code.match(/<html\s*>/gi));

Your html element should have a closing tag.

assert(code.match(/<\/html\s*>/));

Your html tags should be in the correct order.

assert(code.match(/<html\s*>\s*<\/html\s*>/));

You should only have one html element.

// Possibly a redundant test, as browser fixes this
assert(document.querySelectorAll('html').length === 1);

--seed--

--seed-contents--

--fcc-editable-region--
<!DOCTYPE html>

--fcc-editable-region--