Files
Naomi Carrigan 16e7cdedb1 feat: migrate filenames to IDs (#45146)
* feat: migrate filenames to IDs

* feat: migrate balance sheet file names

* revert: no id name for cert projects

* fix: i swear i know what i'm doing
2022-03-02 09:06:00 -06:00

1.1 KiB

id, title, challengeType, dashedName
id title challengeType dashedName
615f34948891834dd77655a6 Step 3 0 step-3

--description--

Add a second p element with the text Serving size 2/3 cup (55g).

--hints--

You should have a second p element.

assert(document.querySelectorAll('p')?.length === 2);

Your second p element should be within your body element.

assert(document.querySelectorAll('p')?.[1]?.parentElement?.localName === 'body');

Your second p element should come after your existing p element.

assert(document.querySelectorAll('p')?.[1]?.previousElementSibling?.localName === 'p');

Your second p element should have the text Serving size 2/3 cup (55g).

assert(document.querySelectorAll('p')?.[1]?.innerText === 'Serving size 2/3 cup (55g)');

--seed--

--seed-contents--

--fcc-editable-region--
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Nutrition Label</title>
  </head>
  <body>
    <h1>Nutrition Facts</h1>
    <p>8 servings per container</p>
    
  </body>
</html>
--fcc-editable-region--