randomize an array.
Front End Engineer Interview Questions
14,960 front end engineer interview questions shared by candidates
For the take-home code test, they want you to build a UI, with which to search for campaigns, each by the campaign URL (they provide working sample URLs in the README). Upon successful search, the result is to be added to a list of results, from their response JSON/JSONP (which, BTW, doesn't even have the correct content type, in the response header). Each result is rendered per their README, with regard to CSS and PNG images (for removing a result from the results list, etc, which they also provide). The donation amount for each result is added to a total, to be rendered, via alert, upon a button click. Upon removal of a result, its donation amount is subtracted from the total, and rendered dollar amounts must be formatted (i.e., $10,000.00). As an additional condition, each result should render only after its child images (for which there are two source links: one for the campaign, the other for the campaign owner) have loaded into the DOM. They suggest you spend no more than three hours on the test, and provide you a span of seven days, in which to submit your working code, along with any notes.
How do you make a function that takes f and returns a function that calls f on a timeout?
The first question was JavaScript scoping: var x = 9; var module = { x: 81, getX: function() { this.x = 10 return this.x; } }; module.getX(); // nr 1 -> 10 var retrieveX = module.getX; retrieveX(); // nr 2 -> 9 var boundGetX = retrieveX.bind(module); boundGetX(); // nr 3 -> 81 The second question was FizzBuzz again:
how would you attach an event to an object
Technical question: write a login form that locks after 5 incorrect tries. Upload creds using ajax.
Are you willing to deal with our rudeness?
Given a JS object, obj = {a: 1, getA: function() { return this.a } } var get = obj.getA; console.log(get()); what will it print? How will you prevent it to fit undefined?
They didn't ask any difficult question I believe they wanted someone who just uses plain old javascript and doesn't learn new technology
Settimeout, flatten an array
Viewing 61 - 70 interview questions