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,145 front end developer interview questions shared by candidates

Round 2: In-person White boarding: 1. Write the code to achieve the following: let myStr = "hello world!"; // your code here console.log(myStr); // !dlrow olleh 2. What is the output? Why? console.log(“one”); SetTimeout(function(){ console.log(“two”); }, 0); console.log(“three”); 3. For a given number ("n"), write a function that loops from 1 to "n" and outputs "Fizz" if the number is divisible by 3, "Buzz" if it is divisible by 5, "FizzBuzz" if it is divisible by both 3 & 5, and the number itself otherwise 4. What is the output? How to fix it? console.log(“start”); for(var i=0;i<5;i++){ setTimeout[function(){ console.log(i); },0); } console.log(“end”); 5. For a given array ([8, 7, 5, 3, 3, 0, 9, 1]), do the following: (must use ES6 Array methods) i) Sort in ascending order ii) Remove duplicates iii) Find numbers greater than a particular number (for ex: greater than 3)
avatar

Senior Front End Developer

Interviewed at Bank of America

3.9
Mar 25, 2017

Round 2: In-person White boarding: 1. Write the code to achieve the following: let myStr = "hello world!"; // your code here console.log(myStr); // !dlrow olleh 2. What is the output? Why? console.log(“one”); SetTimeout(function(){ console.log(“two”); }, 0); console.log(“three”); 3. For a given number ("n"), write a function that loops from 1 to "n" and outputs "Fizz" if the number is divisible by 3, "Buzz" if it is divisible by 5, "FizzBuzz" if it is divisible by both 3 & 5, and the number itself otherwise 4. What is the output? How to fix it? console.log(“start”); for(var i=0;i<5;i++){ setTimeout[function(){ console.log(i); },0); } console.log(“end”); 5. For a given array ([8, 7, 5, 3, 3, 0, 9, 1]), do the following: (must use ES6 Array methods) i) Sort in ascending order ii) Remove duplicates iii) Find numbers greater than a particular number (for ex: greater than 3)

Viewing 2501 - 2510 interview questions

Glassdoor has 21,145 interview questions and reports from Front end developer interviews. Prepare for your interview. Get hired. Love your job.