Write a function createTree(element, data)
that creates a nested list of ul/li
from an object.
element
- is a DOM element.
You should use Recursion to solve the task.
Read the guideline before start
Result
Write a function createTree(element, data)
that creates a nested list of ul/li
from an object.
element
- is a DOM element.
You should use Recursion to solve the task.
Read the guideline before start
Result
GNU General Public License v3.0