Filter interviews by
I applied via Company Website and was interviewed in Feb 2024. There was 1 interview round.
Implement a star rating system using HTML, CSS, and JavaScript for user feedback.
Use HTML to create a series of star icons, e.g., <span class='star'>★</span> for filled stars.
Style the stars with CSS to change color on hover and when selected.
Use JavaScript to capture user clicks and update the rating dynamically.
Consider accessibility by adding ARIA attributes to the stars.
Implement a reset funct...
CSS box model defines the design and layout of elements on a webpage. Box-border is used to include padding and border in the total width and height of an element.
CSS box model includes content, padding, border, and margin of an element
By default, padding and border are not included in the total width and height of an element
Using box-border property includes padding and border in the total width and height of an eleme...
The POST method is used to submit data to the server in the given API.
Use POST method to create a new resource on the server
Data is sent in the body of the request
Commonly used in forms and when submitting user input
I applied via LinkedIn and was interviewed in Nov 2023. There was 1 interview round.
splice is used to add or remove elements from an array, while slice is used to extract a portion of an array without modifying it.
splice modifies the original array by adding or removing elements, while slice returns a new array with the extracted elements
splice takes in parameters for index, number of elements to remove, and optional elements to add, while slice takes in parameters for start and end index
Example: cons...
visibility: hidden hides an element but still takes up space, visibility: none hides an element and removes it from the layout
visibility: hidden hides the element but it still occupies space on the page
visibility: none hides the element and removes it from the layout
visibility: hidden can be used to hide an element while keeping its space reserved, useful for animations
visibility: none is useful when you want to comple...
Top trending discussions
I applied via Recruitment Consultant and was interviewed in Mar 2021. There were 3 interview rounds.
I appeared for an interview before Dec 2020.
Round duration - 360 minutes
Round difficulty - Medium
Basically TCS conduct its flagship event named as CODEVITA . And it offers Internship to prefinal (3rd )year students .
Given an array of integers arr
, where arr[i]
represents the number of pages in the i-th
book, and an integer m
representing the number of students, allocate all the books ...
Allocate books to students in a way that minimizes the maximum number of pages assigned to a student.
Iterate through possible allocations and calculate the maximum pages assigned to a student.
Find the minimum of these maximums to get the optimal allocation.
Return the minimum pages allocated in each test case, or -1 if not possible.
Tip 1 : Good understanding of Data Structure and Algorithms
Tip 2 : Be clear in your Core Subjects.
Tip 3 : Do at least 1 good Project .
Tip 4 : Be humble and speak truth .
Tip 1 : Simple and Crisp .
Tip 2 : Do host your project and mention the link in the resume .
Tip 3 : Single Page
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...
I applied via Naukri.com and was interviewed in Nov 2020. There were 3 interview rounds.
Remove duplicate elements from an Array
Use the Set object to remove duplicate elements
Convert the Set back to an array using the spread operator
If the array contains objects, use a custom comparison function
Use the accept attribute in the input tag to only allow jpg and png files.
Add accept attribute to input tag with 'image/jpeg, image/png' value
This will restrict file selection to only jpg and png files
Use flexbox to center align a div in just one line in CSS.
Set the parent container's display property to flex.
Use the justify-content property with the value 'center' to horizontally center the div.
Use the align-items property with the value 'center' to vertically center the div.
Use React Router's Redirect component to redirect to login page if user is not logged in.
Create a PrivateRoute component that checks if user is logged in
If user is not logged in, redirect to login page using Redirect component
Wrap the routes that require authentication with PrivateRoute component
I applied via Company Website and was interviewed in Jul 2023. There were 3 interview rounds.
Multiple questions and choice
based on 4 interview experiences
Difficulty level
Duration
based on 1 review
Rating in categories
Front end Developer
28
salaries
| ₹5 L/yr - ₹10 L/yr |
Product Developer
16
salaries
| ₹6 L/yr - ₹9.2 L/yr |
Senior Product Developer
9
salaries
| ₹11.1 L/yr - ₹17 L/yr |
Senior Accounts Manager
9
salaries
| ₹7.5 L/yr - ₹15 L/yr |
Associate Product Manager
8
salaries
| ₹10 L/yr - ₹15.2 L/yr |
TCS
Accenture
Wipro
Cognizant