SnapCards

Computer Science: Web Development Basics

20 cards|
6 easy10 medium4 hard
computer scienceweb developmenthtmljavascript

HTML, CSS, JavaScript, HTTP, and core web development concepts.

Study these flashcards with spaced repetition

Track your progress, master difficult cards, and export to Anki. Free to start.

Start Studying — Free

Flashcards in This Deck

1
easy

What is the primary purpose of semantic HTML tags like <main>, <article>, and <section>?

Semantic tags provide structural meaning to a web page, helping search engines (SEO) and assistive technologies (screen readers) understand the content's role rather than just its appearance.

2
medium

In the CSS Box Model, how does 'box-sizing: border-box' change the calculation of an element's total width?

With border-box, the defined width includes the content, padding, and border. This prevents the element from growing larger than its specified width when padding or borders are added.

3
easy

What is the difference between the '==' and '===' operators in JavaScript?

'==' performs type coercion, attempting to convert operands to the same type before comparison, while '===' (strict equality) compares both the value and the data type without conversion.

4
medium

Explain the concept of 'Event Bubbling' in the Document Object Model (DOM).

Event bubbling is a type of event propagation where an event first triggers on the innermost target element and then successively triggers on its ancestors (parents) in the DOM tree.

5
medium

How do CSS Media Queries support responsive web design?

Media queries use the @media rule to apply different blocks of CSS code based on device characteristics such as screen width, resolution, or orientation.

6
hard

What is the role of the 'async' and 'await' keywords in JavaScript?

They provide a cleaner syntax for working with Promises, allowing asynchronous code to be written and read like synchronous code, using try/catch for error handling.

7
medium

In a RESTful API, which HTTP method is typically used to update an existing resource partially?

The PATCH method is used for partial updates, whereas PUT is typically used to replace an entire resource.

8
medium

What does a 403 Forbidden HTTP status code indicate compared to a 401 Unauthorized code?

401 means the user is not authenticated (identity unknown), while 403 means the user is authenticated but does not have the necessary permissions to access the resource.

9
hard

Describe the difference between Client-Side Rendering (CSR) and Server-Side Rendering (SSR).

In SSR, the server generates the full HTML for a page and sends it to the client. In CSR, the server sends a minimal HTML wrapper and the browser uses JavaScript to render the content dynamically.

10
medium

What is the purpose of the 'fetch()' API in modern JavaScript?

The fetch() API provides an interface for making asynchronous HTTP requests to servers and returns a Promise that resolves to the Response object.

+10 more cards — sign up to see all

Frequently Asked Questions

How many flashcards are in this Computer Science: Web Development Basics deck?

This deck contains 20 flashcards with a mix of difficulty levels: 6 easy, 10 medium, and 4 hard cards.

Is this flashcard deck free to use?

Yes! You can study these flashcards for free with our spaced repetition system. Create a free account to track your progress and save your study history.

Can I export these flashcards to Anki?

Pro users can export any deck to Anki (.apkg format) with one click. Free users can export to CSV. Start studying for free and upgrade when you need Anki export.

What is spaced repetition?

Spaced repetition is a study technique that shows you cards at increasing intervals based on how well you know them. Cards you struggle with appear more often, while mastered cards are shown less frequently. This is proven to be one of the most effective ways to memorize information.

Related Flashcard Decks

Ready to study?

Create a free account and start studying these flashcards with spaced repetition.

Get Started — Free
Computer Science: Web Development Basics | SnapCards