📖

Definitions

0/25

One-line answers for the written exam. Click "mark" when you can recite it cold.

HTML
HyperText Markup Language — uses tags to define document structure.
CSS
Cascading Style Sheets — describes the presentation/style of HTML.
JS / JavaScript
Programming language for dynamic, interactive web behavior.
JSON
JavaScript Object Notation — lightweight text format for data exchange.
API
Application Programming Interface.
REST
Representational State Transfer — architectural style using HTTP methods.
DOM
Document Object Model — tree of objects representing the HTML page.
HTTP
HyperText Transfer Protocol.
Endpoint
URL where an API resource is accessed.
CRUD
Create (POST), Read (GET), Update (PUT), Delete (DELETE).
Element
Start tag + content + end tag, e.g. <p>hi</p>.
Attribute
Extra info on a tag, format name="value".
Block element
Takes full line width (e.g. <div>, <p>, <h1>).
Inline element
Takes only needed width (e.g. <span>, <a>, <img>).
Front-end
What user sees — HTML/CSS/JS in the browser.
Back-end
Server-side processing/database — invisible to user.
Cascade (CSS)
Rules for which style wins when multiple apply; later/more-specific wins.
Specificity
Inline (1000) > ID (100) > Class (10) > Element (1).
Box model
content → padding → border → margin (inside out).
Semantic markup
Using meaningful tags (<header>, <nav>, <main>, <article>, <footer>).
Static site
Pre-built pages served as-is.
Dynamic site
Pages built/changed at request time, often with JS or server code.
GET vs POST
GET retrieves data (no body); POST sends/creates data (with body).
Promise
Object representing eventual result of an async operation; used with .then().
Template literal
String in backticks `…` with ${expr} interpolation.