Advertising
November
24

How to implement a diff and merge tool in ACE Editor

Learn how to implement an useful diff and merge tool for ACE Editor.

October
16

How to get the current cursor position (and selection) within a text input or textarea in Javascript

Learn how to get the position of the cursor within a text box or a text area easily with Backward browser compatibility in Javascript.

October
12

How to split an array into chunks of the same size easily in Javascript

Learn how to split an array into chunks in Javascript properly.

October
05

How to create a wordfind game (soup of letters) in the browser easily using Javascript

Learn how to create a dinamyc wordfind game using Javascript in the Browser.

October
02

How to decode a QR code from an image with Javascript

Learn how to decode a QRCode from an image (no camera) using pure Javascript.

September
19

How to get the client IP address with Javascript only

Learn how to get the client IP address (local and private) using only javascript.

September
17

Creating URL slugs properly in Javascript (including transliteration for UTF-8)

Learn how to create a slug of an URL in Javascript properly and in case that you need to, add support (transliteration) for UTF-8 characters.

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

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.