To detect if the caps lock is on, use the getModifierState() method for the KeyboardEvent object: const capslockIsOn = event.getModifierState(modifier); The getModifierState() (...)... (more…)
Read more »
This is a simple guide for intermediates and beginners that will help you to develope an algorithm in JavaScript to create a simple maze. (more…)
Read more »
prettier - Prettier is an opinionated JavaScript formatter.
Read more »
An 100% spec compliant ES2020 JavaScript parser written in JS - pvdz/tenko... (more…)
Read more »
Ghost is a wonderful blogging platform but what if you wanted to include something dynamic ? Nothing more easy ! <canvas id="universe"></canvas> <script type="text/javascript" src="https://lab.openbloc.fr/way-of-life/js... (more…)
Read more »