Final Review for Web Development Exam

0.0(0)
studied byStudied by 1 person
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/68

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

69 Terms

1
New cards

HTML

HTML is the skeleton of a web page. It defines the content and layout using tags (e.g.,

,

, ,

).

2
New cards

CSS

CSS is used to style and design the HTML elements — changing fonts, colors, layouts, and responsiveness.

3
New cards

JavaScript

JavaScript adds dynamic features like animations, form validation, interactive content, and user actions. It makes the page 'alive.'

4
New cards

tag

Used to gather user input and send it to the backend.

5
New cards

Semantic Elements

Elements that describe meaning (not just presentation). Help with SEO and accessibility.

6
New cards

Deployment in web development

Deployment is the process of publishing a web app to a server so users can access it via a web address (URL).

7
New cards

Cascading in CSS

'Cascading' refers to how CSS rules are prioritized when multiple rules apply.

8
New cards

Selectors in CSS

Selectors are used to target specific HTML elements for styling.

9
New cards

Inline-level Elements

Takes up only as much width as necessary (does not start on a new line).

10
New cards

Block-level Elements

Takes up the full width of its parent container (stretches to fill the available width).

11
New cards

Types of CSS Selectors

1. Simple selectors (Universal, class, or ID) 2. Combinator selectors 3. Pseudo-class selectors 4. Pseudo-elements selectors

12
New cards

Characteristics of Inline-level Elements

1. Does not force content to the next line. 2. Can only contain other inline-level elements or text.

13
New cards
14
New cards

Characteristics of Block-level Elements

1. Always starts on a new line and pushes subsequent elements down. 2. Can contain other block-level and inline-level elements.

15
New cards

Examples of Block-level Elements

2.

(paragraph) 3.

,

,

, etc.

16
New cards

Typical HTML elements for backend connection

(

,

17
New cards

How

connects to backend server

Elements like

send data to the backend using HTTP requests (e.g., POST or GET).

18
New cards

Purpose of HTML

Structure.

19
New cards

Purpose of CSS

Styling.

20
New cards

Purpose of JavaScript

Behavior / Interactivity.

21
New cards

Deployment steps

Uploading code to a web server, configuring the server, possibly using services like Vercel, Netlify, or Heroku.

22
New cards

Cascading Style Sheets

CSS stands for Cascading Style Sheets and is related to the priority of the style rules.

23
New cards

Examples of Semantic Elements

,
,
,
,

24
New cards

Inline styles in CSS

Highest priority in the cascading order.

25
New cards

ID selector in CSS

Targets one unique element.

26
New cards

Class selector in CSS

Targets all elements with that class.

27
New cards

Element selector in CSS

Targets all

tags.

28
New cards

Media query in CSS

CSS feature used to apply styles conditionally, based on the device's characteristics like screen size, resolution, orientation, and more.

29
New cards

Media queries

help in creating responsive designs.

30
New cards

CSS framework

a pre-prepared library of CSS styles.

31
New cards

CSS framework usage

Used to help speed up development time. Why rewrite the same code 80 million times when once is fine.

32
New cards

object type in JavaScript

object is a non-primitive data type that allows you to store collections of key-value pairs.

33
New cards

hoisting

Hoisting is a behavior in JavaScript where variable and function declarations are moved (or 'hoisted') to the top of their scope — before code execution.

34
New cards

Destructuring assignment

You can just give functions the object and they will grab the properties themselves.

35
New cards

Arrow function in JavaScript

Arrow functions (=>) are a concise way to write functions introduced in ES6.

36
New cards

Arrow function usage

Only used for function expression (not definition).

37
New cards

Arrow function omissions

The function keyword can be omitted.

38
New cards

Single parameter omission

If a function has only one parameter, () can also be omitted.

39
New cards

Single expression omission

If function body has only one expression, {} and return keyword can also be omitted.

40
New cards

'this' keyword in arrow functions

Arrow functions don't have their own `this` but inherit it from their surrounding scope.

41
New cards

DOM

Document Object Model is a programming interface for web documents.

42
New cards

DOM representation

It represents the page so that programs (like JavaScript) can read, access, and manipulate the structure, style, and content of a website.

43
New cards

Syntax for accessing HTML elements

like getElements or the query method.

44
New cards

getElementById

Selects one element by unique `id`

45
New cards

getElementsByClassName

Selects multiple elements by `class` name

46
New cards

getElementsByTagName

Selects multiple elements by tag name (e.g., `div`, `p`)

47
New cards

querySelector

Returns the first element that matches a given CSS selector

48
New cards

querySelectorAll

Returns all matching elements as a NodeList

49
New cards

this

Keyword (not a variable, cannot change the value) that refers to an object

50
New cards

this in object method

Refers to the object that called the method/function.

51
New cards

this alone

Refers to the global object (default: window).

52
New cards

this in event

Refers to the element that received the event.

53
New cards

var

Can be updated and redeclared, initialized with undefined, and hoisted to the top of their scope.

54
New cards

let

Can be updated, but not redeclared, not initialized - can be declared without being initialized, and hoisted to the top of their scope.

55
New cards

const

Cannot be updated nor redeclared, not initialized - can NOT be declared without being initialized, and hoisted to the top of their scope.

56
New cards

Full stack

From HTML to RESTful API back-end and the database.

57
New cards

Front-End

This is the user interface of the application. It's what the user interacts with in the browser.

58
New cards

Back-End

Handles the logic, processes, and data exchange for the application.

59
New cards

Database Layer

Stores all of the application's persistent data, such as user accounts, posts, comments, etc.

60
New cards

Node.js

Asynchronous, non-blocking I/O: Efficient for handling many concurrent requests.

61
New cards

Single-threaded event loop

Low overhead and memory-efficient.

62
New cards

High performance

With the V8 engine.

63
New cards

Unified language

Write both front-end and back-end code in JavaScript.

64
New cards

Real-time capabilities

Ideal for live apps like chat or gaming.

65
New cards

Scalability

Easily handle growing applications.

66
New cards

Large ecosystem

npm provides access to a wealth of libraries and tools.

67
New cards

HTTP module

Manual handling: You need to manually parse URLs, handle routing, status codes, headers.

68
New cards

Express

Built-in routing support (app.get, app.post, etc.).

69
New cards

EJS syntax

Supports three types of tags: <%= variable %>, <% js code %>, <%- html code %>.