UX Design in Austin, Houston, Dallas, San Antonio
UX Design in Austin, Houston, Dallas, San Antonio
Everything about UX Design in Texas and beyond

JavaScript

7 posts
My Grandfather’s Travel Logs and Other Repetitive Tasks

My grandfather, James, was a meticulous recordkeeper. He kept handwritten journals detailing everything from his doctor visits to the daily fluctuations of stocks he owned. I only discovered this part of his life seven years after his death, when my family’s basement flooded on Christmas Eve in 2011 and we found his journals while cleaning up the damage. His travel records impressed me the most. He documented every trip he...

0 0
What I Talk About  When I Talk About Sorting: Untangling Array#sort

Sorting things is a fundamental part of our daily lives—it’s something we do everyday, following all kinds of criteria to make our lives easier. Whether you’re looking for a person’s phone number, the location of your favorite book, or even matching up your socks, sorting allows us to find what we are looking for in a faster and more effective way. This is also the case in the world of...

0 0
JavaScript for Web Designers: DOM Scripting

A note from the editors: We’re pleased to share Chapter 5 of Mat Marquis' new book, JavaScript for Web Designers, available now from A Book Apart.Before we do anything with a page, you and I need to have a talk about something very important: the Document Object Model. There are two purposes to the DOM: providing JavaScript with a map of all the elements on our page, and providing us...

0 0
Improving User Flow Through Page Transitions

  Any time a user’s experience is interrupted, the chance of them leaving increases. Changing from one page to another will often cause this interruption by showing a white flash of no content, by taking too long to load or by otherwise taking the user out of the context they were in before the new page opened. Transitions between pages can enhance the experience by retaining (or even improving) the user’s...

0 0
Making your JavaScript Pure

Once your website or application goes past a small number of lines, it will inevitably contain bugs of some sort. This isn’t specific to JavaScript but is shared by nearly all languages—it’s very tricky, if not impossible, to thoroughly rule out the chance of any bugs in your application. However, that doesn’t mean we can’t take precautions by coding in a way that lessens our vulnerability to bugs. Pure and...

0 0
Prototypal Object-Oriented Programming using JavaScript

Douglas Crockford accurately described JavaScript as the world’s most misunderstood language. A lot of programmers tend to think of it as not a “proper” language because it lacks the common object-oriented programming concepts. I myself developed the same opinion after my first JavaScript project ended up a hodgepodge, as I couldn’t find a way to organize code into classes. But as we will see, JavaScript comes packed with a rich...

0 0
Scaling Down The BEM Methodology For Small Projects

Front-end development is no longer about individual frameworks. Tools are available — we merely have to choose. To make the right choices for your project, you need to start with a general approach, or methodology. But most methodologies have been created by big companies? Are they still useful for small companies, or do we need to reinvent them at a small scale? You probably already know of BEM121, one of...

0 0