Question d’entretien chez Revolut

How would you create your own virtual DOM using javascript