* refactor: delete existing steps * feat: create new steps * feat: start writing tests * feat: complete html tests * feat: remaining tests * chore: remove "test 1" Co-authored-by: Shaun Hamilton <shauhami020@gmail.com> * fix: wow I really botched that find and replace Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com> * fix: why firefox gotta be different? * fix: I can maths... * chore: apply shaun's review suggestions Co-authored-by: Shaun Hamilton <shauhami020@gmail.com> * fix: unbotch the css oops * fix: acme widget corp * fix: remove z-index * feat: introduce the calc() function * fix: even one more find and replace oops Co-authored-by: Shaun Hamilton <shauhami020@gmail.com> Co-authored-by: Shaun Hamilton <shauhami020@gmail.com> Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
910 B
910 B
id, title, challengeType, dashedName
| id | title | challengeType | dashedName |
|---|---|---|---|
| 61fd6343fb42013d99bcd7f3 | Step 2 | 0 | step-2 |
--description--
Within your body element, nest a section element within a main element.
--hints--
The first element inside the body element should be your main element.
assert(document.querySelector('body')?.children?.[0]?.localName === 'main');
You should have a section element within your main element.
assert(document.querySelector('main')?.children?.[0]?.localName === 'section');
--seed--
--seed-contents--
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AcmeWidgetCorp Balance Sheet</title>
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>
--fcc-editable-region--
<body>
</body>
--fcc-editable-region--
</html>