just learned that JS automatically allocates global variables for all html elements with an id

codepen.io/wynd/pen/zYXOpwe

comments (single view)

you learn something every day

View all comments