Skip to content

Instantly share code, notes, and snippets.

View Swatto's full-sized avatar

Gael Gillard Swatto

  • McKinsey & Company
  • Andenne, Belgium
View GitHub Profile

Keybase proof

I hereby claim:

  • I am swatto on github.
  • I am gaelgillard (https://keybase.io/gaelgillard) on keybase.
  • I have a public key ASDjrPQqCogVRzR6logQBgjyQY0oMsdmXcgabU8dtHKSPAo

To claim this, I am signing this object:

@Swatto
Swatto / form.html
Created February 1, 2016 15:29
Why forms, why
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Why forms, Why!</title>
</head>
<body>
<form>
<input type="text" autofocus>
@Swatto
Swatto / app.js
Created November 26, 2015 13:35
Jeu pierre-feuille-ciseau avec une bonne structure
var Jeu = function() {
var joueur_score = 0;
var ordinateur_score = 0;
this.initialize = function() {
update_score();
document.querySelector('form').addEventListener('submit', fight);
};
var fight = function(ev) {