News for hackers. Stuff that matters.
Re:Ask HN: Interview Questions for Front End Developers by Donito on Wednesday August 07, 2013 @07:32PM (#6176381)
Create an infinite scrolling effect for an image gallery. This will test out the following:

* Ajax * Event handling (scroll) * Basic arithmetic (e.g. when to trigger a new request based on % page scrolled) * Template/DOM insertion * Thinking about edge cases (e.g. what happens when the page is resized, or the ajax request has no more elements to return)

There are no comments on this comment yet.