2 COMMENTs
JavaScript
Peter Bengtsson, Dec 29

Smart Front-ends & Dumb Back-ends: Persisting State in AngularJS

Peter Bengtsson teaches you what a state is and how to persist it. The article includes an example of persisting a state with AngularJS.
34 COMMENTs
JavaScript
Jezen Thomas, Dec 15

Quick Tip: Stop Writing Loops and Start Thinking with Maps

A quick tip from Jezen Thomas on how you can stop writing for loops and start using map — a technique that makes for cleaner, more readable code.
5 COMMENTs
JavaScript
Craig Buckler, Dec 04

How to Schedule Background Tasks in JavaScript

Craig looks at requestIdleCallback, a new API designed to improve page performance by running less-critical background tasks at the optimum time.
12 COMMENTs
JavaScript
Tim Severien, Nov 30

The Importance of Writing Code That Humans Can Read

Tim Severien shares a variety of tips and tricks to help you write readable and more maintainable code — something your future self will thank you for.
10 COMMENTs
JavaScript
Paweł Zagrobelny, Nov 25

Frameworkless JavaScript

In this article Paweł Zagrobelny discusses the pros and cons of using a framework and what you should consider before starting your project.
2 COMMENTs
JavaScript
Ritesh Kumar, Nov 19

Getting Started with Service Workers

In this tutorial Ritesh Kumar shows how the network intercepting feature of Service Workers works, making a website that runs even when the user is offline.
19 COMMENTs
JavaScript
Craig Buckler, Nov 16

Roll Your Own Copy to Clipboard Feature in 20 Lines of JavaScript

Craig's tutorial explains how your application can implement a robust JavaScript clipboard-copying feature even with patchy or non-existent browser support.
15 COMMENTs
JavaScript
Peter Bengtsson, Nov 11

Face Proximity Detection with JavaScript

Peter Bengtsson shows how to build a web page able to detect the distance of your face from the screen with JavaScript.
JavaScript
Ivan Dimov, Oct 23

Make a Voice-Controlled Audio Player with the Web Speech API

Ivan Dimov explores the possibilities offered by the Web Speech API and shows us how to build a voice-controlled audio player.
8 COMMENTs
Web Dev @ Microsoft
David Catuhe, Oct 20

JavaScript Goes Asynchronous (and It's Awesome)

Microsoft's David Catuhe explains JavaScript's recent advances in the area of asynchronous code.
20 COMMENTs
JavaScript
M. David Green, Oct 16

A Beginner's Guide to Currying in Functional JavaScript

M. David Green demonstrates the concept of currying — a useful technique, to partially evaluate functions and make your functional JavaScript more readable.
4 COMMENTs
JavaScript
Hugo Giraudel, Sep 10

Preloading Images in Parallel with Promises

Hugo Giraudel introduces you to a library he has developed to preload images in parallel using promises. Performance for the win!
12 COMMENTs
JavaScript
Peter Bengtsson, Sep 02

Measuring JavaScript Functions' Performance

Peter Bengtsson discusses how to measure the performance of your JavaScript functions and how to avoid some common pitfalls.
88 COMMENTs
JavaScript
Yaphi Berhanu, Aug 28

Build a Countdown Timer in Just 18 Lines of JavaScript

Yaphi Berhanu creates a JavaScript clock widget to demonstrate how coding your own components (and not using plugins) leads to leaner, more efficient code.
8 COMMENTs
JavaScript
Camilo Reyes, Aug 21

A Guide to Vanilla Ajax Without jQuery

Camilo Reyes shows us how far vanilla Ajax has come and suggests that jQuery may be an unnecessary dependency when communicating with your app's back-end.
6 COMMENTs
JavaScript
Ludovico Fischer, Jul 02

Introduction to the Fetch API

Ludovico Fischer introduces you to the Fetch API, a new standard that aims to unify fetching across the web and to replace XMLHttpRequest.
8 COMMENTs
JavaScript
M. David Green, Jun 29

Recursion in Functional JavaScript

M. David Green demonstrates the powerful, but dizzying concept of recursion by refactoring normal for and while loops to use functions that call themselves.
JavaScript
Byron Houwens, Jun 25

ECMAScript 2015: Generators and Iterators

Byron Houwens covers two of the new features of ECMAScript 2015: generators and iterators. These features will change the way developers write JavaScript.
15 COMMENTs
JavaScript
Narayan Prusty, Jun 12

Building a JavaScript Autocomplete Widget with Awesomplete

In this tutorial Narayan Prusty shows you how to create an autocomplete widget using Lea Verou's lightweight and customizable Awesomplete JavaScript library
4 COMMENTs
JavaScript
Lantre Barr, Jun 10

The Dawn of WebRTC

Lantre Barr introduces you to the magic world of WebRTC, showing you what you can do and what are the challenges. The article also includes a demo.
10 COMMENTs
JavaScript
M. David Green, Jun 08

Higher-Order Functions in JavaScript

Continuing his look at functional programming in JavaScript, M. David Green examines higher-order functions and how they can help us avoid code duplication.
23 COMMENTs
JavaScript
M. David Green, May 25

An Introduction to Functional JavaScript

M. David Green demonstrates how you can start thinking functionally in JavaScript, by refactoring some all-too-common imperative code to a functional style.
4 COMMENTs
JavaScript
Ivaylo Gerchev, May 22

The Final Steps to Mastering JavaScript's "this" Keyword

Completing his look at JavaScript's 'this' keyword, Ivaylo Gerchev examines how to use 'this' in callbacks and closures, as well as lexical binding in ES6.
3 COMMENTs
JavaScript
David Catuhe, May 14

Introducing Vorlon.js: How to Use It to Debug Your Javascript Remotely

Microsoft's David Catuhe introduces vorlon.js, and explains how it can help with remote JavaScript debugging