freeCodeCamp/curriculum/challenges/italian/14-responsive-web-design-22/learn-more-about-css-pseudo.../61fd66c687e610436494c6f1.md

929 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>
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Balance Sheet</title>
    <link rel="stylesheet" type="text/css" href="./styles.css">
  </head>
  <body>
    <main>
--fcc-editable-region--
      <section>
      </section>
--fcc-editable-region--
    </main>
  </body>
</html>