Write a function createTree(element, data)
that creates a nested list of ul/li
from an object.
Use keys as list items.
element
- is a DOM element
data
- is a nested object
Hint: use Recursion
- 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
This project uses Parcel, which automatically handles the compilation of SCSS to CSS out of the box.
You do not need to manually compile your .scss files. Simply link your main SCSS file directly in your HTML, and Parcel will take care of the rest.