Front End Developer Interview Questions

21,102 front end developer interview questions shared by candidates

Coding challenge was to integrate the Imgur API and create a view of all the images in a thumbnail displaying few metadata fields of each image/video. Another view was to display the original image/video with all the metadata relevant to it.
avatar

Front End Web Developer

Interviewed at Eurowings Digital

4.3
Oct 2, 2019

Coding challenge was to integrate the Imgur API and create a view of all the images in a thumbnail displaying few metadata fields of each image/video. Another view was to display the original image/video with all the metadata relevant to it.

I am going to spoil the interview for the front end position b/c 1. Essentially reverse a sentence. Very simple and they allow the Array.prototype.reverse(). There is punctuation but it doesn't impact the overall words because the first question you split on the space. 2. Question two is a variation on the first question, but requires you to remove the punctuation. String.prototype.replace(regex) will accomplish this. 3. This is where the test jumped from easy to unnecessarily difficult. The question again built on the theme of manipulating a string, but now you're given a string and told to reverse the words but maintain the punctuation, both of arbitrary length. So a very simple example say str = "I'm the man, Sam said." => output is "said Sam, man the Im." Pretty tricky for being on the spot. The trick is two mapping functions: 1. that spit out the punctuation by themselves and then 2. an array of the words and then finally mapping them a concatenated version of the two. "bonus" question: This was by far the most absurd question and where I lost confidence and asks you for some stupid type of HTML markup that targets random characters in the middle of words and is just a mess and so unlike any semantic markup that it borders on the absurdity. Terrible question and indicative of gotcha style interviewing instead of actual skills relevant in day to day work. Also an anti-pattern
avatar

Front-end Engineer

Interviewed at Premise Data Corporation

3.5
Mar 9, 2018

I am going to spoil the interview for the front end position b/c 1. Essentially reverse a sentence. Very simple and they allow the Array.prototype.reverse(). There is punctuation but it doesn't impact the overall words because the first question you split on the space. 2. Question two is a variation on the first question, but requires you to remove the punctuation. String.prototype.replace(regex) will accomplish this. 3. This is where the test jumped from easy to unnecessarily difficult. The question again built on the theme of manipulating a string, but now you're given a string and told to reverse the words but maintain the punctuation, both of arbitrary length. So a very simple example say str = "I'm the man, Sam said." => output is "said Sam, man the Im." Pretty tricky for being on the spot. The trick is two mapping functions: 1. that spit out the punctuation by themselves and then 2. an array of the words and then finally mapping them a concatenated version of the two. "bonus" question: This was by far the most absurd question and where I lost confidence and asks you for some stupid type of HTML markup that targets random characters in the middle of words and is just a mess and so unlike any semantic markup that it borders on the absurdity. Terrible question and indicative of gotcha style interviewing instead of actual skills relevant in day to day work. Also an anti-pattern

Viewing 211 - 220 interview questions

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