This post includes a list of questions I was asked when interviewing for front end engineering positions last year.
8 comments
5 comments
Common JavaScript Array Methods
Common JavaScript array methods, what they return, and whether or not they modify the original array.
12 comments
Page Preloader with CSS and JavaScript
There are many advantages of adding a preloader to your website. Not only can this produce a nice visual effect, it can, more importantly, allow time for images and other assets to load.
7 comments
Precompiling Handlebars Templates
If you think of an individual tweet as a Handlebars template, you can understand why it would be expensive to compile a template each time a tweet is rendered. Precompiling templates saves time on the client side by reducing your application’s runtime.
0 comments
Pausing a JavaScript Loop
A traditional JavaScript loop iterates over an array almost instantaneously. What happens if you want to pause each iteration of the loop? This sounds easy enough, but you’ll have to address JavaScript’s scoping issues.
13 comments
Node.js Tutorial: Creating a Simple Application with Node, Express and MongoDB
Node.js is tiny and wasn’t really meant to build websites, which is why frameworks like Express.js are useful. Express gives Node structure so you can build a functional website. Along with a templating engine such as Handlebars.js, Node can be used to build fully functional web applications.
4 comments
Traversing the DOM with jQuery
If you do any front end development, you will have to navigate your DOM and properly target DOM elements. Several jQuery functions exist to traverse the DOM. Having a strong command of the most common traversal functions will speed up your development time immensely.
14 comments
Handlebars.js Tutorial: Templating with Handlebars
Templates are useful when building web applications by allowing you to easily display repeating data. Handlebars.js is a templating engine that allows you to take repeating data and display it in an organized fashion.
10 comments
Backbone.js Tutorial: Getting Started with Backbone
Step by step Backbone.js tutorial to help you get started with Backbone, a lightweight JavaScript framework designed to give structure to web applications. (Featured in JavaScript Weekly.)
0 comments
JavaScript Objects & Prototypes
JavaScript data types include simple data types such as numbers, strings and booleans, and complex data types such as objects. An object is an unordered list of data stored in name-value pairs. Property values in an object may be of any data type, including arrays, functions and strings.