Question d’entretien chez Amazon

Write a JavaScript function that creates HTML based on a given input dataset.

Réponse à la question d'entretien

Utilisateur anonyme

10 sept. 2018

The HTML is supposed to look like a nested list, representing a file system. The key is to add a margin to each new level, whether through CSS or inline styling.