Go ProSign in
Hide playlist

    Make Our Toy DOM Driver More Flexible

    Our previous toy DOM Driver is still primitive. We are only able to send strings as the textContent of the container element. We cannot yet create headers and inputs and all sorts of fancy DOM elements. In this lesson we will see how to send objects that describe what elements should exist, instead of strings as the DOM sink.

    You must be a Member to view code