0% found this document useful (0 votes)
1 views

Associate Web Developer QA

The document is a Q&A guide for Associate Web Developer interviews covering essential topics in HTML, CSS, JavaScript, and general web development. It includes questions about semantic HTML, CSS positioning, JavaScript data types, and the differences between front-end and back-end development. Key concepts such as responsive design, version control, and SEO are also addressed.

Uploaded by

jenil.mon24
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views

Associate Web Developer QA

The document is a Q&A guide for Associate Web Developer interviews covering essential topics in HTML, CSS, JavaScript, and general web development. It includes questions about semantic HTML, CSS positioning, JavaScript data types, and the differences between front-end and back-end development. Key concepts such as responsive design, version control, and SEO are also addressed.

Uploaded by

jenil.mon24
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Associate Web Developer - Interview Q&A

HTML & CSS


Q: What is the difference between id and class in HTML?
A: `id` is unique and used for one element. `class` can be reused on multiple elements.

Q: What are semantic HTML tags? Give examples.


A: Tags that clearly define their meaning. Examples: <header>, <footer>, <article>, <nav>,
<section>.

Q: What are the different types of CSS?


A: Inline, Internal, and External CSS.

Q: How does position: absolute differ from position: relative?


A: `absolute` is positioned relative to the nearest positioned ancestor, `relative` is positioned relative
to its normal position.

Q: What is the box model in CSS?


A: Content + Padding + Border + Margin.

Q: How do you make a website responsive?


A: Use media queries, flexbox/grid, and relative units like %, em, rem.

Q: What is the difference between em, rem, and px?


A: `px` is fixed, `em` is relative to parent, `rem` is relative to root element.

Q: What are pseudo-classes in CSS? Give examples.


A: Special element states like :hover, :focus, :nth-child().

Q: What is specificity in CSS?


A: Rules that determine which CSS style is applied when multiple rules match.

Q: How do media queries work in CSS?


A: Apply styles conditionally based on screen size. Example: @media (max-width: 600px) { ... }

JavaScript
Q: Difference between var, let, and const?
A: `var` is function-scoped. `let` and `const` are block-scoped. `const` cannot be reassigned.

Q: JavaScript data types?


A: Primitive: string, number, boolean, null, undefined, symbol, bigint. Non-primitive: objects, arrays.

Q: What is an event in JavaScript?


A: An action like click, keypress, etc., handled using addEventListener.

Q: Difference between == and ===?


A: `==` compares values with type coercion. `===` compares value and type strictly.

Q: What is the DOM?


A: Document Object Model, a tree structure of HTML elements accessible via JavaScript.

Q: Functions vs Arrow Functions?


A: Arrow functions have shorter syntax and no own `this`. Example: () => 'Hello'.

Q: What is a callback function?


A: A function passed to another function and executed later.

Q: Synchronous vs Asynchronous JavaScript?


A: Sync: one task at a time. Async: runs tasks like API calls in background.

Q: What are Promises?


A: Handle async operations. Example: fetch().then().catch().

Q: What is hoisting in JavaScript?


A: JavaScript moves declarations to the top before execution.

General Web Development


Q: Difference between front-end and back-end?
A: Front-end: UI (HTML, CSS, JS). Back-end: server, database, APIs.

Q: What is HTTP?
A: HyperText Transfer Protocol for web communication.

Q: GET vs POST methods?


A: GET fetches data in URL, POST sends data securely in request body.

Q: Cookies vs localStorage vs sessionStorage?


A: Cookies: small, sent with requests. localStorage: persistent. sessionStorage: session-based.

Q: What is version control?


A: Tracks code changes, e.g., Git.

Q: What is responsive design?


A: Design that adapts to different screen sizes.

Q: Have you used frameworks like React or Angular?


A: Yes, for building components, managing state, and SPAs.

Q: What is a CDN?
A: Content Delivery Network for faster asset delivery.

Q: What is SEO?
A: Search Engine Optimization to improve search visibility.

Q: What is progressive enhancement?


A: Basic functionality first, then add advanced features for modern browsers.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy