923 B
923 B
id | title | challengeType | dashedName |
---|---|---|---|
61fd66c687e610436494c6f1 | Step 3 | 0 | step-3 |
--description--
All'interno dell'elemento section
aggiungi un elemento h1
con un elemento span
annidato.
--hints--
L'elemento section
dovrebbe avere un elemento h1
.
assert(document.querySelector('section')?.children?.[0]?.localName === 'h1');
L'elemento h1
dovrebbe avere un elemento span
.
assert(document.querySelector('h1')?.children?.[0]?.localName === 'span');
--seed--
--seed-contents--
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Balance Sheet</title>
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<main>
--fcc-editable-region--
<section>
</section>
--fcc-editable-region--
</main>
</body>
</html>