Questions to master – front end dev related

May 25th, 2010

javascript

Provide an example of closure in javascript.
How do you create an object using a function constructor?
How would you dynamically populate the following into all elements with a class name of ?news-story? on a page using a) jQuery and b) raw javascript:
JSON:

{“items”: [
{
"title": "sample 1",
"author": "author 1"
},
{
[...]

Posted in Curiosities, The Industry

The design of memorable experience

December 6th, 2009

A memorable experience; that is part of what drives user experience design and the need to perfect an experience, or lay the path to a positive one.
When I was child I remember waking up on weekend mornings to the sounds of Marty Stouffer’s voice narrating the Wildlife nature show on the local PBS station. That [...]

Posted in Simple Thoughts, The Industry

Avoiding IE hacks for fixed width divs with borders and padding

November 30th, 2009

IE doesn’t play well with borders and padding. To avoid having to hack it, use nested divs. One outer div to set the fixed width, and inner div(s) to set border and padding.

Posted in Simple Thoughts, The Industry

Things to Know

August 31st, 2009

A quick “to know” list for front end development, at the least.

Posted in The Industry