---Advertisement---

FRONTEND INTERVIEW QUESTIONS & ANSWERS (Level-3)

By Manisha

Published On:

---Advertisement---

🔹 React.js

Q24: What is the difference between Redux Thunk and Redux Saga?
A: Thunk uses functions for async actions; Saga uses generator functions for more complex async control.

Q25: What are useMemo and useCallback hooks?
A: useMemo memoizes a computed value. useCallback memoizes a function to prevent unnecessary re-renders.

Q26: What is Server-Side Rendering (SSR)?
A: SSR renders the React components on the server, improving load times and SEO.


🔹 HTML

Q27: What are ARIA roles?
A: ARIA roles help screen readers understand the purpose of elements, improving accessibility.

Q28: Difference between <b> and <strong>?
A: Both display bold text, but <strong> has semantic importance, while <b> is just stylistic.


🔹 CSS

Q29: What does box-sizing: border-box do?
A: It makes the element’s padding and border included within the specified width and height.

Q30: What are pseudo-classes in CSS?
A: Pseudo-classes define a special state of an element, like :hover, :focus, or :nth-child.


🔹 JavaScript

Q31: What is the Event Loop in JavaScript?
A: The event loop handles asynchronous callbacks in the browser or Node.js, allowing non-blocking behavior.

Q32: What is the difference between null and undefined?
A: undefined means a variable has been declared but not assigned. null is an assignment value that means “no value.”

---Advertisement---

Leave a Comment