Files
Nicholas Carrigan (he/him) 536a689d34 feat(curriculum): balance sheet project (#44189)
* feat: initial infra

* feat: create steps

* chore: apply sem's review suggestions

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>

* feat: write tests

* chore: optional?.chaining?.

* chore: gikf's suggestion

Co-authored-by: Krzysztof <60067306+gikf@users.noreply.github.com>

* chore: rename

* chore: *

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* chore: apply shaun's review suggestions

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* chore: manual review suggestions

* chore: ?????

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
Co-authored-by: Krzysztof <60067306+gikf@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-12-03 16:20:34 -06:00

1.4 KiB

id, title, challengeType, dashedName
id title challengeType dashedName
6193de63d0fcab1f0b4112a0 Step 6 0 step-6

--description--

Give the first span element the text 2019, the second the text 2020, and the third the text 2021. Also give the third span a class set to current.

--hints--

Your first span element should have the text 2019.

assert(document.querySelectorAll('#header > .row > span')?.[0]?.textContent === '2019');

Your second span element should have the text 2020.

assert(document.querySelectorAll('#header > .row > span')?.[1]?.textContent === '2020');

Your third span element should have the text 2021.

assert(document.querySelectorAll('#header > .row > span')?.[2]?.textContent === '2021');

--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>
  <body>
    <div id="sheet">
      <div id="header">
--fcc-editable-region--
        <h1>Balance Sheet</h1>
        <h2>AcmeWidgetCorp</h2>
        <p class="row">
          <span></span>
          <span></span>
          <span></span>
        </p>
--fcc-editable-region--
      </div>
    </div>
    <footer>Last Updated: December 2021</footer>
  </body>
</html>