Filter interviews by
Be the first one to contribute and help others!
Event bubbling is the process of propagating an event from the innermost element to its parent elements in the DOM hierarchy.
Events in JavaScript are triggered on elements and then propagate up the DOM tree.
During event bubbling, an event triggered on a child element will also trigger on its parent elements.
This allows for event delegation, where a single event handler can be used for multiple elements.
Event.stopPropag...
State in functional components can be managed using the useState hook in React.
Use the useState hook to declare state variables in functional components.
useState returns an array with the current state value and a function to update that value.
Example: const [count, setCount] = useState(0);
State variables should be immutable, so always use the setter function to update them.
Event loop in JavaScript is responsible for handling asynchronous operations by executing callback functions in a non-blocking way.
Event loop is a mechanism that allows JavaScript to perform non-blocking operations.
It continuously checks the call stack and the callback queue to see if there are any functions that need to be executed.
If the call stack is empty, it takes the first function from the callback queue and pus...
Hosting in JavaScript refers to the process of declaring a variable or function before it is used in the code.
Hosting allows you to use variables and functions before they are declared in the code.
Variables are hoisted to the top of their scope, while functions are fully hoisted.
Example: console.log(myVar); var myVar = 10; This will not throw an error because 'myVar' is hoisted to the top of the scope.
I applied via Naukri.com and was interviewed in Feb 2024. There were 3 interview rounds.
What is frount end devloper roulr what are they?
Java script and sig tagsand out put creat page ?
How to slowe the error css and it will take 5to 7min pass the next person it will work or their is any errror?
I applied via LinkedIn
Redux is a predictable state container for JavaScript apps.
Redux is a library for managing application state
It provides a centralized store for all the state of an application
It uses a single source of truth principle
It allows for predictable state changes through actions and reducers
It is commonly used with React for building complex UIs
jQuery is a fast, small, and feature-rich JavaScript library.
jQuery simplifies HTML document traversing, event handling, and animating.
It provides a set of methods for AJAX interactions and DOM manipulation.
jQuery is cross-platform and supports a wide range of browsers.
It has a large community and a vast number of plugins available.
Project architecture depends on the specific project and its requirements.
Form validation in React ensures user input is correct before submission.
Use controlled components to manage form state
Create validation functions to check input
Display error messages for invalid input
Disable submit button until form is valid
Consider using a library like Formik or Yup for easier validation
React hooks are functions that allow functional components to use state and lifecycle methods.
Hooks were introduced in React 16.8
useState() is a hook that allows state to be used in functional components
useEffect() is a hook that allows lifecycle methods to be used in functional components
Custom hooks can be created to reuse stateful logic across components
I applied via Naukri.com and was interviewed in Nov 2022. There were 3 interview rounds.
An aptitude test is a way for employers to assess a candidate's abilities through a variety of different testing formats. Aptitude tests will test your ability to perform tasks and react to situations at work. This includes problem-solving, prioritisation and numerical skills, amongst other things.
An assignment is the transfer of rights or property. In financial markets, it is a notice to an options writer that the option has been exercised.
I applied via Company Website and was interviewed in Jul 2023. There were 3 interview rounds.
Multiple questions and choice
I applied via Recruitment Consulltant and was interviewed in Jan 2022. There were 5 interview rounds.
I applied via Company Website and was interviewed in Apr 2023. There were 3 interview rounds.
JavaScript Promise is an object representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations such as fetching data from an API.
They have three states: pending, fulfilled, or rejected.
Promises can be chained using .then() and .catch() methods.
Promises can also be created using the Promise constructor.
Based on html, Css, Javascript and React-Js
TCS
Accenture
Wipro
Cognizant