Front end Flashcards
1
Q
Describe how you would create a responsive web layout using CSS. What techniques do you use to ensure compatibility across different devices?
A
2
Q
Can you explain how you would optimize the performance of a React or Angular application?
A
3
Q
Describe a scenario where you had to use JavaScript to manipulate the DOM directly. How did you ensure the solution was efficient and maintainable?
A
4
Q
- What are Angular modules, and why are they important?
A
5
Q
- Explain the purpose of NgModule.
A
6
Q
- What is a component in Angular, and how is it defined?
A
7
Q
- How does Angular handle data binding?
A
8
Q
- What is the difference between @Input() and @Output()?
A
9
Q
- What is the purpose of Angular CLI?
A
10
Q
- How does Angular implement dependency injection?
A
11
Q
- Explain the lifecycle hooks of an Angular component.
A
12
Q
- What is the difference between a service and a factory in Angular?
A
13
Q
- How do Angular pipes work, and how do you create a custom pipe?
A
14
Q
- What is the difference between Observable and Promise in Angular?
A
15
Q
- What are Angular Forms, and how do template-driven forms differ from reactive forms?
A
16
Q
- How do you optimize the performance of an Angular application?
A
17
Q
- What is lazy loading in Angular, and how is it implemented?
A
18
Q
Why use react?
A
19
Q
Tell me about reusable code you’ve writen in angular
A