examples I came across during the javascript learning