Quantcast
Channel: Samson Muhangi » JavaScript
Browsing latest articles
Browse All 7 View Live

Image may be NSFW.
Clik here to view.

Native HTML5 datepickers with a JavaScript fallback

We’ve all seen them around the web. Focus in a date input field, and a calendar datepicker pops up allowing the user to select a date. Until the advent of HTML5 and jQuery UI, developers achieved this...

View Article



Image may be NSFW.
Clik here to view.

Modernizr

Since jQuery broke onto the scene, which now seems like a century ago, JavaScript libraries have become ubiquitous. Even the biggest fan must admit we are reaching saturation point. That said, there...

View Article

Image may be NSFW.
Clik here to view.

Media Queries and responsive web design

Try viewing my site on a small device or resize your browser window, and you will notice that the page content ‘responds’ to the size of the viewport by readjusting the layout. How did you do that?...

View Article

Image may be NSFW.
Clik here to view.

PictureFill – A responsive images technique

If your web application takes more than 3 seconds to load, you will soon get a call from the the latency police to explain yourself. Users expect snappy applications otherwise they will move on to the...

View Article

Image may be NSFW.
Clik here to view.

Saving form data using the localStorage API

Here is a scenario that we can all relate to; You are filling in a long form and half way through, you inadvertently close the tab/window or worse still your laptop decides to crash. ‘Argh!, I was...

View Article


Image may be NSFW.
Clik here to view.

Writing Modular JavaScript

I will start off by saying that I am no guru when it comes to JavaScript. There are guys who will have me for breakfast when it comes to this stuff, as they were in this business way before I knew...

View Article

Image may be NSFW.
Clik here to view.

HTML5 classList API

DOM element class attributes are not only used as ‘hooks’ in CSS to create selectors by which developers and designers style pages, they are widely used in JavaScript for DOM programming. They are an...

View Article
Browsing latest articles
Browse All 7 View Live




Latest Images