Make Our Toy DOM Driver More Flexible

André Staltz
InstructorAndré Staltz

Share this video with your friends

Send Tweet

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.