by Salvatore Laisa @ Milano Frontend 30/01/2018
HTML & CSS had really strong contraints at the time, so Flash was the right environment for creative designer and coders that wanted to create "wow"- factor experiences on the web.
Many cool things like: engagement websites, games (there were more Flash games then that HTML5 ones today), animated movies/series, augmented reality "stuff".
We now have incredibly powerful browsers, a Javascript standalone runtime (Node.js), third parties plugins almost extinghuished, HTML+CSS+JS now leveraged to do what we want them to do!
amazingly, they don't require forms or tables!
Plug & play... in the browser!
window.addEventListener("gamepadconnected", (e) => {
console.log("Gamepad connected at index %d: %s. %d buttons, %d axes.",
e.gamepad.index, e.gamepad.id,
e.gamepad.buttons.length,
e.gamepad.axes.length);
});
Oh, that Nolan movie with Leonardo Dicaprio!
// An iframe tag can become a nested target
const browser = document.querySelector('iframe');
browser.reload();
browser.goBack();
browser.goForward();
browser.zoom(zoomFactor);
thought it's a bit hard ... but many resources are available.
you can also build a guitar tuner out of it!
Musical Instrument Digital Interface
Proximity has never been closer!
navigator.bluetooth.requestDevice(options).then(device => {
log('> Name: ' + device.name);
log('> Id: ' + device.id);
log('> Connected: ' + device.gatt.connected);
}) .catch(error => { log('Argh! ' + error); });