Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 444 Bytes

File metadata and controls

13 lines (9 loc) · 444 Bytes

TreeMenu

Tree menu in VanillaJS.

JS skills test problem.

The goal is to make tree structure like this:

Tree structure example

The number of subfolders is unlimited in general. Also, it has to work right after inserting the script (should work everywhere). I assume, that there is a container div. Example JSON data format is provided.