Filter interviews by
DOM CSSOM Manipulation in react.
Implementing pagination on scroll allows for loading more content as the user reaches the bottom of the page.
Use a scroll event listener to detect when the user has reached the bottom of the page
Make an API call to fetch more data when the bottom is reached
Append the new data to the existing content on the page
Immediately invoked function expressions (IIFE) are functions that are executed immediately after they are created.
IIFE is defined and invoked at the same time using parentheses at the end of the function declaration.
Anonymous functions do not have a name and can be used as IIFE by wrapping them in parentheses.
IIFE is commonly used to create a private scope for variables and functions.
Closures are functions that have access to variables from their outer scope even after the outer function has finished executing.
Closures allow functions to access variables from their parent function even after the parent function has returned
They help in creating private variables and functions in JavaScript
Closures are commonly used in event handlers and callbacks
A promise is an object representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in JavaScript.
They can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained using .then() method to handle success and failure callbacks.
Example: Fetch API returns a promise when making an HTTP request.
Lazy loading is a technique used in web development to defer loading non-essential resources until they are needed.
Lazy loading helps improve page load times by only loading resources when they are required.
It is commonly used for images, videos, and other media files on a webpage.
Lazy loading can be implemented using JavaScript libraries like Intersection Observer or by using native browser features like loading='lazy
I applied via LinkedIn and was interviewed in Nov 2024. There were 2 interview rounds.
They asked JS basics and Promises, hoisting
Just asked about my work culture, as I worked in startup and product based company, they except me work in Agile and how u will adopt to MNC / service based company culture
I applied via Naukri.com and was interviewed in Jun 2024. There were 3 interview rounds.
It was a hacker coding test mostly javascript questions
Context API is a feature in React that allows sharing data between components without having to pass props manually.
Create a context using createContext() method
Use the Provider component to wrap the components that need access to the context
Access the context data using the useContext() hook within the consuming components
Debugging a code involves identifying and fixing errors in the code to ensure it runs correctly.
Use console.log() statements to print out values and check for errors
Utilize browser developer tools to inspect elements and debug JavaScript
Step through the code using breakpoints to identify the source of the issue
Review error messages and stack traces to pinpoint the problem
Consider using tools like linters and debuggers
Employee details can be retrieved using group by clause in SQL.
Use GROUP BY clause in SQL to group employee details based on a specific column
Aggregate functions like COUNT, SUM, AVG can be used with GROUP BY to get summarized employee details
Example: SELECT department, COUNT(*) as total_employees FROM employees GROUP BY department
posted on 8 Oct 2024
I applied via Recruitment Consulltant and was interviewed in May 2024. There were 2 interview rounds.
States and props are important concepts in React for managing and passing data between components.
States are mutable data that can be changed within a component
Props are read-only data passed from parent to child components
States are managed within a component using setState() method
Props are accessed using this.props in a component
Virtual DOM is a lightweight copy of the actual DOM that allows for efficient updates and rendering in web applications.
Virtual DOM is a concept used in frameworks like React to improve performance by minimizing direct manipulation of the actual DOM.
When changes are made to the virtual DOM, a comparison is done with the actual DOM to determine the minimal updates needed for rendering.
This process helps reduce the numbe...
A fetch and filter component for data retrieval and manipulation
Use fetch API to retrieve data from an API endpoint
Implement a filter function to manipulate the retrieved data based on user input
Display the filtered data in the UI
Javascript and React snippets
posted on 17 Jul 2024
I applied via Approached by Company and was interviewed in Jul 2023. There was 1 interview round.
I have used features like semantic tags, forms, tables, and multimedia elements in HTML.
Semantic tags like
Forms for user input with
Tables for organizing data with
Multimedia elements like , |
Flex in CSS is a layout module that allows elements to align and distribute space within a container.
Flexbox is used for creating flexible and responsive layouts.
It allows for easy alignment and distribution of elements within a container.
Flex properties include flex-direction, justify-content, align-items, and flex-grow.
Flex is a CSS layout model that allows responsive and flexible design. Hoisting is a JavaScript behavior where variable and function declarations are moved to the top of their scope. Function expressions are anonymous functions assigned to variables.
Flex is used for creating responsive and flexible layouts in CSS.
Hoisting in JavaScript moves variable and function declarations to the top of their scope.
Function expressi...
Hoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their containing scope during the compilation phase.
Variable declarations are hoisted but not their initializations
Function declarations are fully hoisted
Hoisting can lead to unexpected behavior if not understood properly
Closure is the combination of a function bundled together with references to its surrounding state.
Closure allows a function to access variables from its outer scope even after the outer function has finished executing.
It is created whenever a function is defined within another function.
Closure helps in maintaining the state of a function and allows for data encapsulation.
Senior Software Engineer
3
salaries
| ₹25 L/yr - ₹100.8 L/yr |
Acapela Group
Claro Software Solutions
TCS
Accenture