Categories:

Main Content Areas:

Welcome to JavaScript Kit, a comprehensive resource for JavaScript tutorials, scripts, and more.

JavaScript Kit- What's New?

How to Set Up your Desk as a Programmer for Maximum Productivity

See the best, most relevant frontend courses online to take to succeed as a frontend developer in 2019 and beyond.

Best Developer Frontend Courses

See the best, most relevant frontend courses online to take to succeed as a frontend developer in 2019 and beyond.

Creating a clean CSS Comparison Table with CSS flexbox

In this tutorial I'll show you how to create a responsive CSS comparison table using nothing but UL lists and CSS flexbox.

Smooth Scrolling HTML Bookmarks using JavaScript (natively or jQuery)

See how to use native JavaScript to create smooth scrolling HTML bookmark links inside the page, and for those that need legacy browser support, using jQuery instead. This promises to be one smooth tutorial!

Creating an Equal Height Pricing Table using CSS Flexbox

In my opinion, pricing tables are the effective way to quickly capture and convey to potential customers your services and the benefits at a glance. See how easy it is to create an equal heights, responsive CSS pricing table using the power of CSS Flexbox.

Web Animation API- Unleashing the Power of CSS keyframes in JavaScript

Animate elements in JavaScript using the power of CSS keyframes animation with the Web Animation API! In this tutorial, I'll introduce you to WAAPI, browser support and polyfill, and how to start using this awesome API today.

Top five features in JavaScript ES6 Worth Mastering

JavaScript ES6 adds a slew of new features to the JavaScript language, some more groundbreaking and widely applicable than others. In this article I list the top 5 JavaScript ES6 features I find most indispensable.

Understanding let and const in JavaScript ES6

Get to know all about "let" and "const" in JavaScript ES6, and how it differs from the age old "var" keyword in defining variables.

Displaying Content in Full Screen using the Fullscreen API in JavaScript

See how to open up any content on your page in full screen mode with just a few lines of JavaScript using the Full Screen API.

LowerCase, Title And Sentence Case Converter Tool

This is a simple online JavaScript tool to easily convert a string to lowercase, uppercase, title, capital, or sentence case, depending on your needs.

Introduction to JavaScript Async Functions- Promises simplified

See how to use JavaScript async functions with JavaScript Promises to further simplify asynchronous operations in JavaScript, and produce code that's easier to read and debug to boot.

Introduction to CSS Variables

A comprehensive introduction to CSS Variables, which is a new browser feature that lets you store and reuse CSS values in your CSS. Unlike variables in CSS Preprocessors, CSS variables are live, and accessible using JavaScript.

Creating a slick, animated Full Screen Search Form with CSS3 and JavaScript

The trend for search boxes these days has been bigger and bolder. This tutorial shows how to create a slick, well engineered full screen search form that works beautifully across all modern browsers and devices.

Four Essential JavaScript functions to tame CSS3 Transitions and Animations

See four JavaScript functions that help you unlock the full potential of CSS Transitions and Animations, by pausing them, detecting when they've finished playing, and more.

Displaying the Local Time of Any City using JavaScript and Google Time Zone API

This tutorial looks at how to use Google Time Zone API to reliably display the local time of any city or location in JavaScript.

Creating a simple page transition using CSS and JavaScript

See how to build a simple but sleek page transition using CSS3 transitions and animation that appears while a page is loading.

4 novel ways to deal with sticky :hover effect on mobile devices

CSS's venerable :hover pseudo class presents a bit of a conundrum on touch screen devices, where the :hover style stays with the element the user just tapped on until he/she taps again elsewhere in the document. This tutorial looks at 4 creative ways to deal with "sticky hover" effects on mobile devices.

CSS Flexbox 101- Introduction and sample patterns

In this tutorial, I'll go over the key elements that make up CSS Flexbox, plus show you some common Flexbox patterns to validate its usefulness. After this leisurely read you'll wonder how you ever went by so long without flexing.

Youtube Player API and creating a simple Youtube lightbox

See how to create a simple Youtube video lightbox, by first creating a responsive and vertically centered Youtube iframe, then using Youtube URL parameters and the Youtube Player API to control it.

Understanding JavaScript's requestAnimationFrame() method for smooth animations

requestAnimationFrame() is a JavaScript method for creating smoother, less resource intensive JavaScript animations. See how to take advantage of this method in this comprehensive tutorial.

Determining how much the user has scrolled the page using JavaScript or jQuery

Learn how to detect the amount the user has scrolled the page using JavaScript or jQuery, in either pixels travelled or as a percentage of the whole page.

Using CSS3 keyframe animation to create a swinging image

In this short tutorial, we'll see how easy it is to create an image that swings like a pendulum continuously using CSS3 keyframes animation.

Displaying RSS feeds using YQL, a Google Feed API alternative

This tutorial looks at how to use Yahoo's YQL service as an alternative to the now defunct Google Feed API to quickly display RSS feeds from external sources using JavaScript only.

Reading and copying selected text to clipboard using JavaScript

In this tutorial, we'll see how to read the textual contents of a user selection, dynamically select some text on the page, and last but not least, copy whatever is selected to clipboard, all using just JavaScript. It's certified Flash free!

Beginner's Guide to JavaScript Promises

JavaScript Promises are a new addition to ECMAscript 6 that aims to provide a cleaner, more intuitive way to deal with the completion (or failure) of asynchronous tasks. In this tutorial we'll deliver the promise of JavaScript Promises to the uninitiated!
More Additions

Creating a sticky header bar using jQuery and CSS

A hot trend in web design these days is the use of sticky headers, where the header becomes temporarily fixed on the page whenever the user starts to scroll past it, keeping the element in view. In this tutorial we'll dissect the making of a well engineered sticky header using jQuery and CSS.

Creating an off-canvas side menu using CSS3 (and a touch of JavaScript)

In this tutorial, we'll see how to create the iconic off-canvas side menu from scratch using CSS3 only, and with the help of a little JavaScript, polish it off so it's fully ready for real world use.

Fixing mobile usability issues to comply with Google- a quick start guide

A site's mobile usability will now play an important role in how well your site ranks on Google for mobile searches. In this quick start guide we show you how to quickly address the key mobile issues that result in a failing grade for Google, and also, tips on taking your site a step further to become fully responsive.

Matching multiple CSS media queries using window.matchMedia()

A common question that gets asked is how to use JavaScript's window.matchMedia() method to react to multiple CSS media queries. In this tutorial we explore how.

A pure CSS Before and After image effect

In this tutorial we'll see how some careful stacking of two images in CSS can make way for a quick "before" and "after" image effect, whereby moving the mouse over the image container peels back one image to reveal another.

Creating a basic parallax scrolling effect using CSS and JavaScript

Parallax scrolling is a visual technique where elements on the page move or animate at different speeds as the user scrolls the page, creating depth and visual intrigue. This tutorial walks you through how to create a simple parallax scrolling effect using CSS and JavaScript.

Creating a live CSS clock using CSS3 and requestAnimationFrame()

Pure CSS only interfaces are all the rage these days, so lets explore that concept with our very own CSS3 clock, then see it come to life using some JavaScript.

Manipulating CSS3 transitions using jQuery

In this tutorial we look at how to use jQuery to dynamically modify CSS3 properties and react to when a transition has completed. It's the key to injecting logic to your transitions!

Introduction to Touch events in JavaScript

In this tutorial lets get touchy feely with JavaScript, by examining its touch related events and how they are used to detect and respond to touch and swipe events.

Introduction to CSS media queries

With today's challenge of building webpages that look right in the myriad of different devices comes CSS media queries, a nifty CSS feature that builds upon CSS Media types of CSS 2.1 to help you easily cater your page based on the aforementioned factor and more.
Features
"Learning jQuery (Packt Publishing)" book review We review "Learning jQuery", a book aimed at introducing new comers to the jQuery framework.
Features
Plus Size image viewer
This script automatically adds a caption beneath the images of your choice that when clicked on launches a "plus size" version of the image.
Scripts/ Tutorials
References
JavaScript Tools:
Site Info

CopyRight (c) 2018 JavaScript Kit. NO PART may be reproduced without author's permission. Contact Info