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

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 221 - 230 interview questions

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