Javascript

JavaScript is a programming language used to make web pages interactive. It runs on your visitor's computer and doesn't require constant downloads from your website.

Introduction to the Javascript Battery API
Learn how to use the Javascript Battery API (available on laptops and mobile devices).
How to use Angular.js and Twig without the conflict of double curly braces
Learn multiple tricks and tips to work with Twig and Angularjs with double curly braces or different symbols.
Introduction to the Javascript Promises
Learn what are the Javascript Promises, how do they work and how to manipulate them.
10 Useful javascript tips and practices that you may want to start applying in your projects
Read 10 important tips about javascript that every developer should know.
How to read a computer file using Javascript in the Browser
Learn to read local files in the browser using the FileReader API easily.
How to create a file and generate a download with Javascript in the Browser (without a server)
Learn how to generate a file using javascript in the browser and download it directly without use any server (local solution).
Encode and Decode HTML entities using pure Javascript
Learn how to encode and decode to html entities a string using javascript.
How to get the pixel color from a canvas on click or mouse event with Javascript
Learn how to retrieve the color of a pixel on a canvas element using javascript with different mouse events.
The canvas has been tainted by cross-origin data and tainted canvases may not be exported
Learn why those errors appears while you work on canvas and add images from another domain or how to solve it if it comes from your own domain.
How to iterate over an Object with Javascript and jQuery optimally
Learn many ways to iterate over an object properly in Javascript.