4 COMMENTs
HTML & CSS
Adrian Sandu, Dec 09

Native JavaScript Development after Internet Explorer

Adrian Sandu completes his series on life after oldIE's retirement, looking at what is now possible with native JavaScript across the major browsers.
JavaScript
James Wright, Nov 07

Web Audio API: Add Bandwidth-Friendly Sound to Your Web Page

James Wright introduces you to the Web Audio API and demonstrates how to add notification sounds to a user interface in an bandwidth-friendly manner.
15 COMMENTs
JavaScript
Julian Motz, Oct 20

Quick Tip: Replace jQuery's Ready() with Plain JavaScript

Julian Motz takes a look at jQuery's document.ready() method and shows how it can be replaced with vanilla JS, and is often not needed at all!
12 COMMENTs
JavaScript
Christopher Pitt, Oct 18

Building a JavaScript 3D Minecraft Editor

Chris Pitt shows how to make a basic 3D Minecraft editor with mostly vanilla JS and some clever CSS, that will later be used to edit a real Minecraft world.
1 COMMENT
JavaScript
Almir Bijedic, Oct 06

Quick Tip: How to Style Google Custom Search Manually

Learn to style Google Custom Search (CSE) and the search results for your site with JavaScript. Almir Bijedic shows you how to do it the right way.
11 COMMENTs
JavaScript
Camilo Reyes, Oct 04

Saved from Callback Hell

 Avoid callback hell without ditching callbacks! Camilo Reyes believes that by applying some SOLID principles, callbacks can still be a useful technique.
19 COMMENTs
JavaScript
Yaphi Berhanu, Sep 28

Quick Tip: Add or Remove a CSS Class with Vanilla JavaScript

Yaphi Berhanu demonstrates two different methods for adding and removing a CSS class to DOM elements with vanilla JavaScript. No jQuery required!
14 COMMENTs
JavaScript
Julian Motz, Sep 14

Quick Tip: How to Declare Variables in JavaScript

Julian Motz examines how variables are declared in JavaScript, and introduces the three different types of declaration and their uses.
JavaScript
Vildan Softic, Sep 13

Pragmatic Uses of Monkey Patching in JavaScript

Vildan Softic looks at using monkey patching to alter code at runtime, arguing developers should understand how to safely use this controversial technique
14 COMMENTs
JavaScript
Paul Wilkins, Sep 12

JavaScript Refactoring Techniques: Specific to Generic Code

Paul Wilkins demonstrates various JavaScript refactoring techniques to make your code more generic & strike the balance between readability and reusability.
9 COMMENTs
JavaScript
Yaphi Berhanu, Aug 25

Quick Tip: Get URL Parameters with JavaScript

Yaphi Berhanu shows how to parse the query string and retrieve URL parameters using only vanilla JavaScript. 
3 COMMENTs
JavaScript
Myles English, Aug 24

Create a Music Jam Station with Vanilla JavaScript

Myles English shows how to build a jam station that displays the musical chord changes while a song plays, allowing you to play along. No jQuery required!
8 COMMENTs
JavaScript
Peter Bengtsson, Aug 23

Cache Fetched AJAX Requests Locally: Wrapping the Fetch API

Peter Bengtsson walks through building a wrapper for the Fetch API, step-by-step, to cache fetched AJAX results and avoid repeated requests to the server.
7 COMMENTs
JavaScript
Dan Prince, Aug 15

Quick Tip: What Are Factory Functions in JavaScript

Dan Prince looks at factory functions in JavaScript, examining the different types, their use cases & how they allow us to separate data from computations.
JavaScript
M. David Green, Aug 09

Function Composition: Building Blocks for Maintainable Code

M. David Green demonstrates how to implement function composition in JavaScript, a technique which lends itself to writing cleaner and more succinct code.
4 COMMENTs
JavaScript
Mark Brown, Aug 03

Quick Tip: How to Make a Game Loop in JavaScript

Mark Brown demonstrates how to make a simple game loop in JavaScript, paving the way for you to start making your own browser based games and animations.
7 COMMENTs
JavaScript
Camilo Reyes, Jul 28

Quick Tip: How to Throttle Scroll Events

Camilo Reyes shows how to use a throttle function to manage rapidly fired events, like window scrolling events, and compares this to the debounce function.
2 COMMENTs
JavaScript
Moritz Kröger, Jul 14

Clean Code with ES6 Default Parameters & Property Shorthands

Moritz Kröger shows to use ES6 default parameters and property shorthands to help speed up development and write cleaner, clearer and more organized code.
16 COMMENTs
JavaScript
Samier Saeed, Jun 30

JavaScript Design Patterns: The Singleton

Samier Saeed walks you through the best way to implement a singleton in JavaScript and examines how that has evolved with the rise of ES6.
37 COMMENTs
JavaScript
Jani Hartikainen, Jun 21

15 Ways to Write Self-documenting JavaScript

Jani demonstrates techniques for writing self-documenting code that make it easier to understand, reduce the need for comments, and improve program design.
14 COMMENTs
JavaScript
Jeff Mott, Jun 09

JavaScript Object Creation: Patterns and Best Practices

Jeff Mott guides you through a step-by-step approach to JavaScript object creation—from object literals, through factory functions, ending with ES6 classes.
10 COMMENTs
JavaScript
Kevin Yank, Jun 02

Regular Expressions in JavaScript

Wondering how to validate input with JavaScript? Kevin Yank takes a look at what regular expressions are and what they can do for you.
25 COMMENTs
JavaScript
Yaphi Berhanu, May 26

Make a Simple JavaScript Slideshow without jQuery

Yaphi walks you step-by-step through creating a slideshow with JavaScript and CSS, with practical tips on ensuring accessibility for all.
3 COMMENTs
Web
Jonathan Saring, May 18

Find JavaScript Code Snippets by Functionality with Cocycles

Jonathan introduces Cocycles, a new code search engine that can read code and search open-source code snippets by functionality.