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 (3 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.
C
-
classList and changing the pageAdding and removing CSS classes, text and attributes from JavaScript.
-
Core Web Vitals
Google’s three page-experience metrics: loading (LCP), responsiveness (INP) and layout stability (CLS).
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.
-
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.
E
-
ES modules (import / export)
Splitting JavaScript into files that export and import from each other.
G
-
Guard
A check at the start of a function that exits early when a condition is not met.
L
-
Lazy loading
Loading images and iframes only when they are about to scroll into view.
M
-
Magic number
A bare number in code with no name explaining what it means.
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
-
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.
R
-
Regex in JavaScript
Regular expressions written between slashes, used to test, find and replace text.
S
-
script, defer and asyncWays to load JavaScript without blocking the page from showing.
-
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.