Random JavaScript Snippets
Published in
1 min readMar 24, 2018
This is kind of an test article to try out different ways of embedding scripts.
Simple REST Web API example (plain JS)
A simple example that uses a xhttp requests and a callback function to display an image on a web page.
Trolling Window jumping around
Open this in jsfiddle for full trolling effect!!
Vibrator api (only works on mobile devices)
Did you know there is a browser API for device vibration…
Change Color on Hover (Vue.js)
Simple Vue.js Example that changes color on hovering.