The text giving the time and date magically appears between a pair of paragraph tags because hidden in the first set of brackets is the instruction "id = "demo".
In this case the instruction is to 'get the the element by ID', the element being within the parentheses, and called 'myImage'.
That's a big fat fucking victory.
This time let's change the width — not sure why —and call for the green and red bippies instead.
Wow! That's confusing!
The second example still works.
Upon reload, what comes up is the red "Not Delivered Yet" image.
Clicking on "Turn On the Light" gets you … wait for it …
The red "Not Delivered Yet" image in the Second Example!
What's more, in the Third Example, nothing happens.
Also of note: Hitting the Turn off the light" button flips Example 2 to "Papers Delivered."
Man, that is some confusing shit!
There was something fucked up about the 'img' tag of the Third Example.
The second example sort of works.
The third example does jack shit.