- Replace
<your_account>
with your Github username in the link - Follow this instructions
- Run
npm run test
command to test your code; - Run
npm run test:only -- -n
to run fast test ignoring linter; - Run
npm run test:only -- -l
to run fast test with additional info in console ignoring linter.
- Run
Create an expandable tree.
Requirements:
- Clicking on the headline should hide or show elements.
- Clicking outside the title text (in an empty place) should do nothing.
Hint: you need to wrap each header text into span
tag.
Do not change HTML or CSS in this task.