Steven Parker171,342 Points
Hi, I got your alert.
You're right that "message" is just the name of the parameter of the "print" function. So the real work is done by the call to "
The "html" variable is built up in the loop that runs 100 times, and each time it makes the "html" string bigger by adding a new
div element to it (with a random color). Note that the new string is added to "html" using a concatenating assignment operator ("+="). Instead of replacing the contents as a normal assignment would, this operator adds the new string onto the end of what is already there.
So on the line with "
print(html)", the "html" variable is holding 100
Does that clear it up?