Advertising
July
29

How to retrieve the closest word in a string with a given index in Javascript

Learn how to retrieve the closest word in a string with a given index (from indexOf) in Javascript.

July
27

How to use PhantomJS in windows with the command prompt

Learn how to use PhantomJS from the command prompt of Windows.

July
25

Introduction to the Javascript Battery API

Learn how to use the Javascript Battery API (available on laptops and mobile devices).

July
23

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.

July
21

Introduction to the Javascript Promises

Learn what are the Javascript Promises, how do they work and how to manipulate them.

July
04

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.

June
29

How to read a computer file using Javascript in the Browser

Learn to read local files in the browser using the FileReader API easily.

June
26

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).

June
25

Encode and Decode HTML entities using pure Javascript

Learn how to encode and decode to html entities a string using javascript.

June
23

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.

Our Code World

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.