Skip to content

Instantly share code, notes, and snippets.

@jaseemabid
Created February 3, 2014 15:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaseemabid/8785607 to your computer and use it in GitHub Desktop.
Save jaseemabid/8785607 to your computer and use it in GitHub Desktop.
_ this document is in public domain _
--------------------------------------------------------------------------------
Hello Foo,
As you are aware, we are looking to hire smart and enthusiastic front-end
programmers who can learn new technologies and adapt fast. You have made the
short-list and we would like you to undertake a coding challenge that we have
devised to help us assess your coding skills.
The challenge will hopefully not take too long for you to code up (after
learning the tools like Backbone, if required) and we hope that you will enjoy
building it.
Challenge: Write a single page backbone.js app with 3 simple pages, as follows:
* Page 1 : A single text input asking for a Github/Facebook/Twitter username
* Page 2 : A *minimal* profile page of the user (if it exists). All have
simple REST API which do not need any authentication. The Github one is
quite simple to use.
* Page 3 : A *minimal* error page (If user does NOT exist). Seen the Google
404?
* Add one extra feature, which you think will impress us.
Points to consider:
* Write elegant understandable code
* Put all js best practices. Closures, namespaces, jslint... etc.
* Focus on quality of the code rather than completing the test.
* Take care of backbone.js routing. Bonus if you can get clean URLs like
app.com/user/mark-zuckerberg
* Use any front-end library/tooling available to get the job done in less
time; think & work smarter. If you use something uncommon then add a
readme which explains how to run it (Use free software please).
* Use scaffolds if that saves time, but just don't copy paste code.
* Make it look pretty - this is an opportunity for you to show off some CSS
skills
* Do you track your code with git? If yes, then share the history; we love a
clean log.
Remember, we don't want you to spend a lot of time on this. If in doubt then ask
for clarifications. Ship and iterate. Show us what you can do with minimal
effort.
Good Luck.
--------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment