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
-
Animation (@keyframes)
Movement defined in steps that can loop or run on its own, without a trigger.
-
ARIA attributes
Extra attributes that describe roles and states to screen readers when HTML alone can't.
-
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.
-
aspect-ratio and object-fitKeep a box at a fixed shape, and make images fill it without being squashed.
-
async / awaitA way to write code that waits for something (a network call, a timer) without freezing the page.
-
autocomplete attributeTells the browser and password manager what a field is, so it can fill it in correctly.
B
-
BEM naming
A naming system for CSS classes: block__element--modifier.
-
Blade
Laravel’s template language: HTML with
{{ }}for escaped output and@if,@foreachdirectives.
C
-
calc(), min(), max()Do maths in CSS, mixing units, and pick the smaller or larger of two values.
-
Canonical URL
A tag naming the one official address of a page, so search engines don't count copies as duplicates.
-
Cascade and inheritance
How the browser decides which rule wins when several apply, and which values children take from their parents.
-
clamp()
A value that scales between a minimum and maximum, often used for fluid font sizes.
-
Class (Python)
A blueprint for objects with their own data (attributes) and functions (methods).
-
Class and object
A class is a blueprint, an object is one thing built from it, with its own data and methods.
-
classList and changing the pageAdding and removing CSS classes, text and attributes from JavaScript.
-
Collection
Laravel's supercharged array with chainable methods like filter, map, groupBy, sum.
-
Core Web Vitals
Google’s three page-experience metrics: loading (LCP), responsiveness (INP) and layout stability (CLS).
-
CSS Grid
A two-dimensional layout system for rows and columns.
-
CSS nesting
Writing rules inside rules, like in Sass, now supported natively by browsers.
-
CSS reset and normalize
A small stylesheet that removes browser default differences so you start from a predictable base.
-
Custom properties
CSS variables defined with -- and read with var().
D
-
Dark mode (prefers-color-scheme)
Offering a dark colour scheme that follows the visitor's system setting.
-
data- attributesYour own attributes for storing small pieces of information on an element for JavaScript or CSS.
-
datetime and time zones
Dates, times, durations, and why every stored time should carry its time zone.
-
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 ...
-
<details> and <summary>A built-in open/close section, perfect for FAQs, with no JavaScript needed.
-
<dialog>A native popup window with focus handling and a backdrop built in.
E
-
Enum
A fixed set of named values, such as the possible statuses of a booking.
-
ES modules (import / export)
Splitting JavaScript into files that export and import from each other.
-
Exceptions and try/catch
Errors that are "thrown" and can be "caught" and handled instead of crashing the page.
F
-
:focus-visibleShows a clear focus outline for keyboard users without showing it on every mouse click.
-
Form validation
Checking that inputs are filled in correctly before they are sent.
G
-
gapSpace between items in a flex or grid container, without margins on the items themselves.
-
$_GET, $_POST, $_SERVERPHP's built-in arrays holding the request: URL parameters, form data, server info.
-
Guard
A check at the start of a function that exits early when a condition is not met.
H
-
hreflangTags that tell search engines which language versions of a page exist, so each visitor gets the right one.
-
HTML entities
Codes for characters that would otherwise be read as HTML, such as < and &.
I
-
iframe
A window inside the page that shows another page, such as a YouTube video or a Google Map.
-
if __name__ == "__main__"Runs code only when the file is executed directly, not when it is imported.
L
-
lambdaA tiny nameless function written on one line.
-
Lazy loading
Loading images and iframes only when they are about to scroll into view.
-
List comprehension
A one-line way to build a list from another list.
-
Localisation (__ and lang files)
Showing the interface in the visitor's language from translation files.
M
-
Magic number
A bare number in code with no name explaining what it means.
-
match expressionA stricter, shorter switch that returns a value.
N
-
Namespace and use
Folders for class names, so two classes called Lexikon from different packages don't clash.
-
No-op
An operation that does nothing, either on purpose or because there was nothing to do.
-
Null coalescing (??)Returns the left value if it exists and isn’t null, otherwise the right one.
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.
-
overflowWhat happens when content is bigger than its box: show it, hide it, or scroll.
P
-
pandas
The library for tables of data in Python: load, clean, filter, group and export.
-
pathlib and filesThe modern way to work with file paths and read or write files.
-
position (relative, absolute, fixed, sticky)Moves elements out of the normal flow: on top of others, fixed to the screen or sticking while scrolling.
-
prefers-reduced-motion
A setting some visitors turn on because motion makes them dizzy; your CSS can respect it.
-
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.
-
Pseudo-classes and pseudo-elements
:hover, :focus, :checked describe a state; ::before, ::after, ::placeholder style a part of an element.
R
-
Regex in JavaScript
Regular expressions written between slashes, used to test, find and replace text.
-
rel="noopener"A link setting that stops a page opened in a new tab from controlling the page that opened it.
-
Responsive images (srcset)
Offering several sizes of one image so phones download a small file and big screens a sharp one.
S
-
script, defer and asyncWays to load JavaScript without blocking the page from showing.
-
Scroll snap and smooth scrolling
Makes scroll containers stop neatly on each item, and anchor jumps scroll smoothly.
-
Set
A collection without duplicates, with very fast "is it in there?" checks.
-
setTimeout and setIntervalRun code once after a delay, or repeatedly at an interval.
-
Specificity
The rule that decides which CSS wins when several rules target the same element.
-
Standard library
The modules that come with Python: files, dates, JSON, CSV, HTTP, regex, and more.
-
State
The data an interface currently shows: what is selected, typed, loaded or open.
T
-
transformMove, scale, rotate or skew an element without affecting the layout around it.
-
Transition
Animates the change between two states, such as a button colour on hover.
-
try / exceptCatching errors so the program can react instead of crashing.
-
Type hints
Optional notes on which types variables and functions expect; editors and tools like mypy check them.
U
-
Useful string functionsBuilt-in helpers for text: length, replace, search, split, trim.
W
-
Web scraping (BeautifulSoup, Playwright)
Extracting information from web pages with code.