Questions to master – front end dev related
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"
},
{
[...]
The design of memorable experience
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 [...]
Avoiding IE hacks for fixed width divs with borders and padding
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 IndustryThings to Know
A quick “to know” list for front end development, at the least.
Posted in The Industry