Hands-on practice for this lecture. Work through the exercises and quizzes to reinforce what you've learned.
Exercise 1 of 1
JavaScript data updates instantly, but the DOM screen stays blank until you manually push it. Feel the pain of a missing synchronization layer.
Type below. Notice how the JavaScript variable updates immediately, but the "Screen" does not change.
let post = "Original text";
const jsDiv = {
tagName: "div",
__ptr: "0x1A4F"
};
⌠The DOM has no idea the `post` variable changed. They live in two completely different environments in the browser.