Skip to content

Ruslanwp/js_sliding-tree-DOM

 
 

Repository files navigation

  1. Replace <your_account> with your Github username in the link
  2. 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.

Task: Sliding tree

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.

Screenshot of the tree

screenshot screenshot

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 46.5%
  • JavaScript 42.0%
  • SCSS 11.5%