What is a JavaScript callback function?
Front End Developer Interviews
Front End Developer Interview Questions
Front end developers are responsible for the interaction between web pages and users by designing and creating webpages using HTML, CSS, and JavaScript. Knowledge and experience with these three programming languages and their supporting tools is a must for employers. During an interview, be prepared to answer technical questions and to talk about past web development experience.
21,102 front end developer interview questions shared by candidates
How to center a 200px x 200px div to the center of the screen?
As a designer, did I think I would get bored with coding and troubleshooting?
Say there was a function that took 1 second to execute and you needed to run this function 10 million times, how would you cut down on the execution time?
Given a number n where n+1 and n-1 are prime, prove n is divisible by 6
If we wanted to implement a method of tracking every click that the user made on the site, how would we want to do this?
What is== and === operator?
Given an input array and another array that describes a new index for each element, mutate the input array so that each element ends up in their new index. Discuss the runtime of the algorithm and how you can be sure there won't be any infinite loops.
Given input: // could be potentially more than 3 keys in the object above items = [ {color: 'red', type: 'tv', age: 18}, {color: 'silver', type: 'phone', age: 20} ... ] excludes = [ {k: 'color', v: 'silver'}, {k: 'type', v: 'tv'}, .... ] function excludeItems(items, excludes) { excludes.forEach(pair => { items = items.filter(item => item[pair.k] === item[pair.v]); }); return items; } 1. Describe what this function is doing... 2. What is wrong with that function ? 3. How would you optimize it ?
Why do you want to work at Costco?
Viewing 1 - 10 interview questions