4 COMMENTs
JavaScript
Giulio Mainardi, May 05

How to Implement Smooth Scrolling in Vanilla JavaScript

Forget jQuery plugins, Giulio Mainardi shows how do smooth scrolling in vanilla JavaScript, and refactors an ES6 library to ES5.
15 COMMENTs
JavaScript
Paul Wilkins, Apr 19

Quick Tip: Function Expressions vs Function Declarations

Paul Wilkins investigates the differences and advantages of function expressions over function declarations in JavaScript.
23 COMMENTs
JavaScript
Camilo Reyes, Apr 13

A Guide to Proper Error Handling in JavaScript

Camilo Reyes explains the best practices for proper error handling in JavaScript, including how to deal with errors thrown by asynchronous code.
3 COMMENTs
JavaScript
M. David Green, Mar 28

Using Map and Reduce in Functional JavaScript

M. David Green demonstrates how using the functional programming techniques of mapping & reducing can lead to cleaner code which is easy to read & maintain.
6 COMMENTs
JavaScript
Dan Prince, Mar 15

6 Ways to Bind JavaScript's this Keyword in React, ES6 & ES7

Dan Prince compares 6 different methods for binding the value of the this keyword in react components, including new methods from ES2015 and ES2016.
14 COMMENTs
JavaScript
Jérémy Heleine, Mar 07

Building a 3D Engine with JavaScript

Learn how to create simple 3D graphics for the web without WebGL. Jérémy Heleine teaches you how to build your own 3D engine from scratch with JavaScript.
16 COMMENTs
JavaScript
Stephen Chapman, Feb 24

Quick Tip: How to Create and Manipulate Arrays in JavaScript

Stephen Chapman shows how to create and manipulate arrays in JavaScript using their length property, something that often trips up those new to the language
13 COMMENTs
JavaScript
Mark Brown, Feb 17

An Introduction to Reasonably Pure Functional Programming

Mark Brown shows how to to write simpler programs with fewer bugs by using techniques from functional programming in JavaScript
3 COMMENTs
JavaScript
Jeff Mott, Feb 10

Quick Tip: Master Closures by Reimplementing Them from Scratch

Jeff Mott helps you truly master the concept of closures in JavaScript using simple examples, demonstrating how they would be implemented from scratch.
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.
35 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.
6 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.
4 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.
22 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.
22 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.
100 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.
9 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.