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.
-
Array (PHP)
PHP's all-purpose list: either numbered (a list) or keyed (like a dictionary).
-
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.
-
Attribute
Extra information inside an opening tag, written as name="value".
B
-
Basic types (str, int, float, bool, None)
The building blocks of Python values; None means "no value".
-
BEM naming
A naming system for CSS classes: block__element--modifier.
-
Blade
Laravel’s template language: HTML with
{{ }}for escaped output and@if,@foreachdirectives. -
Box model
Every element is a box: content, then padding, then border, then margin.
-
Button
The element for actions on the page: submit a form, open a menu, close a dialog.
C
-
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.
-
Cascade layers (@layer)
Named groups of CSS whose order decides which wins, regardless of specificity.
-
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.
-
Collection
Laravel's supercharged array with chainable methods like filter, map, groupBy, sum.
-
Colour contrast
The difference in brightness between text and background; too little and text is hard to read.
-
Colours (hex, rgb, hsl, oklch)
Ways to write a colour in CSS.
-
Container queries
Styles that react to the size of the parent box instead of the whole screen.
-
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.
-
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.
-
Decorator
A line starting with @ above a function that wraps it with extra behaviour, such as caching.
-
Destructuring and spread (...)
Unpacking values from objects and arrays into variables, and copying or merging them with ...
-
Dictionary (dict)
Python’s key-value map, like a PHP associative array or a JS object.
E
-
Element and tag
One building block of a page, written with an opening and a closing tag.
-
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.
-
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.
-
Exceptions and try/catch
Errors that are "thrown" and can be "caught" and handled instead of crashing the page.
F
-
Favicon
The small icon shown in the browser tab, bookmarks and on a phone home screen.
-
Flexbox
A layout mode for arranging items in one row or column, with control over spacing and alignment.
-
Form
A group of inputs that sends what the visitor typed to a server.
-
Form validation
Checking that inputs are filled in correctly before they are sent.
-
Function
A named, reusable block of JavaScript code, written with the function keyword or as an arrow function.
-
Function (def)
A named block of reusable code, defined with def; it can take arguments and return a value.
-
Function and arrow function
A named, reusable piece of code; fn() => is a one-line short form.
G
-
Generator and yield
A function that produces values one at a time, so huge data never has to fit in memory.
-
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.
-
Headings (h1 to h6)
Six levels of titles that build the outline of a page.
-
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.
-
Image and alt text
The img element shows a picture; alt describes it for people who can't see it.
-
Indentation
In Python, spaces at the start of a line decide which block the line belongs to.
-
Input types
The type attribute turns one input into an email field, date picker, number box, checkbox and more.
-
Interface and trait
An interface lists the methods a class promises to have; a trait is reusable methods shared by classes.
J
-
JavaScript
The programming language of web browsers; it makes pages react, and also runs on servers via Node.js.
L
-
Label
The visible name of a form field, connected to it for clicks and screen readers.
-
Lazy loading
Loading images and iframes only when they are about to scroll into view.
-
Link (<a>)
The anchor element: makes text or an image clickable and leads to another page or place.
-
List and tuple
A list is an ordered, changeable collection; a tuple is the same but fixed.
-
List comprehension
A one-line way to build a list from another list.
-
Lists (ul, ol, li)
HTML elements for bulleted (ul) and numbered (ol) lists, with one li element per item.
-
Localisation (__ and lang files)
Showing the interface in the visitor's language from translation files.
-
Logical properties
margin-inline, padding-block and friends: directions that adapt to the writing direction.
M
-
Margin collapse
When two vertical margins meet, only the bigger one is used instead of both added up.
-
Media query
CSS that applies only under conditions such as screen width or a dark-mode preference.
-
Meta tags
Tags in the head that describe the page for browsers, search engines and social networks.
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.
O
-
Object
A collection of named values (properties), JavaScript's version of a dictionary.
P
-
pandas
The library for tables of data in Python: load, clean, filter, group and export.
-
Predicate
A function or condition that answers yes or no about a value.
-
prefers-reduced-motion
A setting some visitors turn on because motion makes them dizzy; your CSS can respect it.
-
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.
-
Python
A readable general-purpose language, the favourite for scripts, data work, automation and AI.
R
-
Regex in JavaScript
Regular expressions written between slashes, used to test, find and replace text.
-
Render-blocking CSS and critical CSS
CSS in the head must load before the page shows; keeping it small makes the first screen appear faster.
-
Responsive design
One page that adapts its layout to every screen, from phone to wide monitor.
-
Responsive images (srcset)
Offering several sizes of one image so phones download a small file and big screens a sharp one.
S
-
Scope and closure
Scope is where a variable is visible; a closure is a function that keeps its surrounding variables.
-
Scroll snap and smooth scrolling
Makes scroll containers stop neatly on each item, and anchor jumps scroll smoothly.
-
Selector
The part of a CSS rule that chooses which elements it applies to.
-
Semantic HTML
Using the element that says what something is (header, nav, article, button) instead of generic boxes.
-
Service worker and PWA
A background script that can cache a site for offline use and make it installable like an app.
-
Set
A collection without duplicates, with very fast "is it in there?" checks.
-
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
-
Table
HTML for data in rows and columns: tr for rows, th for heading cells, td for cells.
-
Transition
Animates the change between two states, such as a button colour on hover.
-
Type hints
Optional notes on which types variables and functions expect; editors and tools like mypy check them.
-
Typography in CSS
Fonts, sizes, line height and spacing: what makes text pleasant to read.
U
-
Units (px, rem, em, %, vw, vh)
How sizes are measured: fixed pixels, relative to the font size, the parent or the screen.
V
-
Variables and types in PHP
Variables start with $; values can be strings, integers, floats, booleans, arrays, objects or null.
-
Viewport meta tag
The line that tells phones to show the page at its real width instead of a zoomed-out desktop view.
W
-
Web fonts (@font-face)
Loading your own font files so the site looks the same everywhere.
-
Web scraping (BeautifulSoup, Playwright)
Extracting information from web pages with code.