Find Interview Questions for Top Companies
Ques:- What is the difference between inline inline block and block elements
Right Answer:
Block elements take up the full width available and start on a new line (e.g., `<div>`, `<h1>`). Inline elements only take up as much width as necessary and do not start on a new line (e.g., `<span>`, `<a>`). Inline-block elements are similar to inline elements but can have width and height set, and they respect margins and padding (e.g., `<img>`, `<button>`).
Ques:- What are cookies sessions and local storage in web development
Right Answer:
Cookies are small pieces of data stored on the user's computer by the web browser while browsing a website, used for tracking and remembering information about the user. Sessions are temporary storage on the server that keeps track of user data across multiple requests during a single visit, typically expiring when the user closes the browser. Local storage is a web storage feature that allows websites to store data in the user's browser persistently, even after the browser is closed, with no expiration time.
Ques:- What is the difference between frontend and backend development
Right Answer:
Frontend development refers to the part of a website or application that users interact with directly, including the layout, design, and user interface. Backend development involves the server-side, focusing on databases, server logic, and application functionality that users do not see.
Ques:- What are event bubbling and event delegation in JavaScript
Right Answer:
Event bubbling is a JavaScript event propagation method where an event starts from the target element and bubbles up to its ancestors in the DOM hierarchy. Event delegation is a technique that involves attaching a single event listener to a parent element to manage events for multiple child elements, leveraging event bubbling to handle events efficiently.
Ques:- What is AJAX and how does it work
Right Answer:
AJAX (Asynchronous JavaScript and XML) is a web development technique that allows web pages to communicate with a server and update content asynchronously without reloading the entire page. It works by using JavaScript to send requests to the server, which can return data (often in JSON or XML format) that the browser can then use to update the webpage dynamically.
Ques:- If there is a fixed deadline given by manager, walk through the steps you would take.
Right Answer:
1. Understand the project requirements and scope.
2. Break down the project into smaller tasks.
3. Prioritize tasks based on importance and deadlines.
4. Create a timeline with milestones.
5. Communicate with the team to delegate tasks.
6. Monitor progress regularly and adjust as needed.
7. Keep the manager updated on progress and any potential issues.
8. Ensure thorough testing and review before the deadline.
AmbitionBox Logo

What makes Takluu valuable for interview preparation?

1 Lakh+
Companies
6 Lakh+
Interview Questions
50K+
Job Profiles
20K+
Users