Filter interviews by
In jQuery, you can add a class name to an element using the addClass() method.
Use the addClass() method in jQuery to add a class name to an element.
Syntax: $(selector).addClass(className);
Example: $('button').addClass('active');
I applied via Approached by Company and was interviewed in May 2024. There were 2 interview rounds.
Authentication verifies a user's identity, while authorization determines what a user can access.
Authentication confirms a user's identity through credentials like username and password.
Authorization controls access to resources based on the authenticated user's permissions.
Example: Logging into a website (authentication) and then being able to view/edit specific pages based on your role (authorization).
To render a list in React, use map() function to iterate over an array of data and return a list of components. State is mutable data managed within a component, while props are immutable data passed from parent to child components.
To render a list in React, use map() function to iterate over an array of data and return a list of components.
Example: const items = ['item1', 'item2', 'item3']; items.map(item =>
Webpage optimization techniques include minifying CSS and JS files, optimizing images, using asynchronous loading for scripts, and reducing render-blocking scripts.
Minify CSS and JS files to reduce file sizes and improve loading times.
Optimize images by compressing them and using the correct file format (e.g. JPEG for photographs, PNG for graphics).
Use asynchronous loading for scripts to prevent them from blocking the ...
Use SCSS to apply background color to nested li elements and utilize mixins.
Use nesting to target the li elements within a parent element
Apply background color to the 2nd li element using the :nth-child() selector
Define and use mixins to reuse styles across the codebase
To fix cumulative layout shift issues, ensure all images and media have dimensions specified in HTML, use CSS aspect ratio boxes, and prioritize loading critical resources.
Specify dimensions for all images and media in HTML to prevent layout shifts.
Use CSS aspect ratio boxes to reserve space for images before they load.
Prioritize loading critical resources to avoid sudden layout changes.
Javscript oop related coding
I applied via Naukri.com
My father is a software engineer who works for a tech company.
Father is a software engineer
Works for a tech company
I was interviewed in Jun 2024.
This is coding + mcq question
I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.
Closure in JS is a function that retains access to variables from its parent scope even after the parent function has finished executing.
Closure allows functions to have access to variables from an outer function even after the outer function has finished executing.
It is created whenever a function is defined within another function, and the inner function has access to the outer function's variables.
Closures are commo...
Web workers allow running JavaScript code in the background without blocking the main thread.
Web workers are separate JavaScript files that run in the background.
They allow for multi-threading in web applications.
Web workers can perform tasks like heavy calculations or network requests without affecting the main UI thread.
Communication between web workers and the main thread is done through message passing.
Props in React are passed from parent components to child components to share data and functionality.
Props are passed as attributes in JSX when rendering a component
Props can be accessed in the child component using 'this.props'
Props are read-only and should not be modified directly
I applied via Naukri.com and was interviewed before Nov 2023. There were 3 interview rounds.
Excellent and test related which we worked technology only
React is a JavaScript library for building user interfaces, while Angular is a full-fledged framework for web development.
React is a library, while Angular is a framework.
React uses a virtual DOM for better performance, while Angular uses a regular DOM.
React is more flexible and allows developers to choose their own tools and libraries, while Angular has a more opinionated structure.
React is mainly focused on the view ...
Props drilling is passing props through multiple levels of components. Higher order component is a function that takes a component and returns a new component.
Props drilling involves passing props from a parent component to a deeply nested child component, which can lead to prop pollution and make the code harder to maintain.
Higher order component is a pattern where a function takes a component and returns a new compon...
I applied via Approached by Company and was interviewed before Nov 2023. There was 1 interview round.
Event loop is a mechanism in JavaScript that allows for asynchronous operations to be executed in a non-blocking way.
Event loop is responsible for handling asynchronous operations in JavaScript.
It allows for non-blocking execution of code by continuously checking the call stack and the task queue.
When the call stack is empty, the event loop moves tasks from the task queue to the call stack for execution.
Example: setTim...
DOM stands for Document Object Model, a programming interface for web documents.
DOM is a tree-like structure that represents the elements of a web page.
It allows developers to manipulate the content, structure, and style of a web page using scripting languages like JavaScript.
DOM provides methods and properties to interact with HTML elements, such as selecting, adding, removing, or modifying them.
Example: document.getE...
Some of the top questions asked at the Splan Labs UI Developer interview -
Technical Leader Consultant
4
salaries
| ₹9.2 L/yr - ₹17.4 L/yr |
Implementation Engineer
4
salaries
| ₹7.5 L/yr - ₹9 L/yr |
Software Engineer
3
salaries
| ₹4 L/yr - ₹5 L/yr |
Java Developer
3
salaries
| ₹2.4 L/yr - ₹6.5 L/yr |
Senior HR Executive
3
salaries
| ₹7 L/yr - ₹7.7 L/yr |
Biocon Limited
Syngene International
DRJ & CO
Wipro