Front End Developer Interview Questions

12,576 front end developer interview questions shared by candidates

Code snippet, something like: what would you see in the DOM? @Component({ selector: 'cmp', template: '{{value}}' }) export class Cmp implements OnInit, onChanges { value = 10; ngOnInit() { this.value += 5 } ngOnchanges(){ this.value += 1 } }
avatar

Junior Front End Developer

Interviewed at Base

4.4
May 27, 2024

Code snippet, something like: what would you see in the DOM? @Component({ selector: 'cmp', template: '{{value}}' }) export class Cmp implements OnInit, onChanges { value = 10; ngOnInit() { this.value += 5 } ngOnchanges(){ this.value += 1 } }

1. Implement a password check. Essentially, evaluate if a string contains one uppercase, one lowercase, one digit, and one "special character". I had to ask for clarification on what a "special character" is here and was told anything that does not fall in the above. 2. Refactor a React component from the existing lifecycle methods into a functional component with hooks. This also came up multiple times in step 2, which was a bit of a yellow flag for me as they really honed in on this relatively simple problem. 3. Center a div inside its parent. 4. A tooltip is appearing inside a div, move it outside.
avatar

Front End Software Engineer

Interviewed at Brightidea

3.9
Feb 10, 2021

1. Implement a password check. Essentially, evaluate if a string contains one uppercase, one lowercase, one digit, and one "special character". I had to ask for clarification on what a "special character" is here and was told anything that does not fall in the above. 2. Refactor a React component from the existing lifecycle methods into a functional component with hooks. This also came up multiple times in step 2, which was a bit of a yellow flag for me as they really honed in on this relatively simple problem. 3. Center a div inside its parent. 4. A tooltip is appearing inside a div, move it outside.

There were no trick questions -- just a few questions about relevant experience and knowledge. The interview came after a skills test, so they didn't ask follow up questions about my knowledge. It seemed more of test to see if I was a fit with the team.
avatar

Front End Developer

Interviewed at CrateBind

4.8
Oct 3, 2017

There were no trick questions -- just a few questions about relevant experience and knowledge. The interview came after a skills test, so they didn't ask follow up questions about my knowledge. It seemed more of test to see if I was a fit with the team.

They asked me I was willing to make interviews for their client. If I get accepted, they will offer me a job. In other words, we want you to work for us for free till non specified date without contact, which is illegal by the way
avatar

Senior Front End Developer

Interviewed at MALTEM Consulting

3.6
Oct 5, 2023

They asked me I was willing to make interviews for their client. If I get accepted, they will offer me a job. In other words, we want you to work for us for free till non specified date without contact, which is illegal by the way

Viewing 691 - 700 interview questions

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