Lexikon
My working reference for web engineering and AI tools: HTML, CSS, JavaScript, PHP, Python, SQL, Bash, GitHub, Claude, Codex, Hermes, and the expressions AI assistants use, each explained in plain language with an example.
Filters (2 active)
A
-
Array methods (map, filter, reduce)
Built-in helpers to transform lists without writing loops.
-
Arrow function
The short way to write a function: (a, b) => a + b.
-
async / awaitA way to write code that waits for something (a network call, a timer) without freezing the page.
B
-
Bundler (Vite, webpack, esbuild)
A tool that combines and shrinks your JavaScript and CSS files into a few fast ones for production.
C
-
classList and changing the pageAdding and removing CSS classes, text and attributes from JavaScript.
-
console and DevTools
The browser's developer tools: inspect elements, see errors, watch network requests and run code.
-
Core Web Vitals
Google’s three page-experience metrics: loading (LCP), responsiveness (INP) and layout stability (CLS).
-
CORS
The browser rule that blocks a page from reading responses from another domain unless that domain allows it.
-
curlSends web requests from the terminal: test an API, a webhook or whether a page is up.
D
-
data- attributesYour own attributes for storing small pieces of information on an element for JavaScript or CSS.
-
Debounce
Wait until input stops for a moment before acting, instead of reacting to every keystroke.
-
Debugging JavaScript
Finding why code does something unexpected: read the error, set breakpoints, step through.
-
Destructuring and spread (...)
Unpacking values from objects and arrays into variables, and copying or merging them with ...
-
<dialog>A native popup window with focus handling and a backdrop built in.
-
Dictionary (dict)
Python’s key-value map, like a PHP associative array or a JS object.
-
DOM
The page as a tree of objects that JavaScript can read and change.
E
-
ES modules (import / export)
Splitting JavaScript into files that export and import from each other.
-
Event delegation
One listener on a parent that handles clicks for all its children, including ones added later.
-
Event listener
A function that runs when something happens on the page: a click, a key press, a form submit.
-
Express
The classic minimal web server framework for Node.js, often used for small APIs and webhooks.
F
-
fetchThe browser's built-in function for calling an API or loading data without reloading the page.
-
Function
A named, reusable block of JavaScript code, written with the function keyword or as an arrow function.
G
-
Guard
A check at the start of a function that exits early when a condition is not met.
H
-
Hard-coded
A value written directly into the code instead of coming from settings or data.
I
-
IntersectionObserverNotices when an element scrolls into view; used for lazy loading, animations and "load more".
J
-
JavaScript
The programming language of web browsers; it makes pages react, and also runs on servers via Node.js.
-
JSON
A text format for data, used by APIs and config files.
L
-
Lazy loading
Loading images and iframes only when they are about to scroll into view.
-
let, const and varWays to declare variables: const for values that won't be reassigned, let for ones that will; avoid var.
-
Lighthouse
Google's built-in audit for performance, accessibility, best practices and SEO, scored 0 to 100.
-
Linter and formatter (ESLint, Prettier)
Tools that find likely bugs (linter) and format code consistently (formatter).
-
localStorage and sessionStorageSmall key-value storage in the browser; localStorage survives restarts, sessionStorage ends with the tab.
M
-
Magic number
A bare number in code with no name explaining what it means.
-
Monkey patch
Changing how existing code behaves at runtime from outside, without editing its source.
N
-
Node.js
JavaScript outside the browser: servers, command-line tools and build tools.
-
npm
Node.js’s package manager; installs packages listed in package.json into node_modules.
O
-
Object
A collection of named values (properties), JavaScript's version of a dictionary.
-
Optional chaining (?.) and ???. stops quietly when something is missing; ?? gives a default for null or undefined.
P
-
package.json and package-lock.jsonpackage.json lists a project's packages and scripts; the lock file pins the exact versions.
-
Predicate
A function or condition that answers yes or no about a value.
-
preventDefaultStops the browser's normal action, such as following a link or reloading the page on form submit.
-
Promise
A value that arrives later, such as the result of a network request.
Q
-
querySelectorFinding elements on the page with CSS selectors.
R
-
React, Vue, Svelte
Frontend frameworks that build interfaces from reusable components that update when data changes.
-
Regex in JavaScript
Regular expressions written between slashes, used to test, find and replace text.
-
Regular expression (regex)
A pattern language for finding and replacing text, used in grep, sed, code editors and every programming language.
-
Request and response
Every page view is a request from the browser and a response from the server, with a status code.
-
Route
The rule that connects a URL to the code that answers it.
S
-
Scope and closure
Scope is where a variable is visible; a closure is a function that keeps its surrounding variables.
-
script, defer and asyncWays to load JavaScript without blocking the page from showing.
-
Semantic versioning (^ and ~)
Version numbers as MAJOR.MINOR.PATCH, where a new major version may break things.
-
Service worker and PWA
A background script that can cache a site for offline use and make it installable like an app.
-
Session and cookie
A cookie is a small browser-stored value; a session keeps data on the server, found via a cookie.
-
setTimeout and setIntervalRun code once after a delay, or repeatedly at an interval.
-
State
The data an interface currently shows: what is selected, typed, loaded or open.
-
Structured data (JSON-LD)
Machine-readable facts about a page (business, product, recipe, FAQ) that search engines can show as rich results.
T
-
Template literalStrings in backticks that can span lines and include ${values}.
-
Types and equality (=== vs ==)JavaScript values: string, number, boolean, null, undefined, object, array; always compare with ===.
-
TypeScript
JavaScript with types: mistakes like a missing property are caught while you type, not by your visitors.
V
-
Vite (in Laravel)
The tool that bundles and versions CSS and JavaScript for a Laravel site.
X
-
XSS (cross-site scripting)
An attack that sneaks JavaScript into a page through visitor input, so it runs in other browsers.