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.

    Languages · Intermediate

  • ARIA attributes

    Extra attributes that describe roles and states to screen readers when HTML alone can't.

    Languages · Intermediate

  • Array methods (map, filter, reduce)

    Built-in helpers to transform lists without writing loops.

    Languages · Intermediate

  • Arrow function

    The short way to write a function: (a, b) => a + b.

    Languages · Intermediate

  • aspect-ratio and object-fit

    Keep a box at a fixed shape, and make images fill it without being squashed.

    Languages · Intermediate

  • async / await

    A way to write code that waits for something (a network call, a timer) without freezing the page.

    Languages · Intermediate

  • autocomplete attribute

    Tells the browser and password manager what a field is, so it can fill it in correctly.

    Languages · Intermediate

B

  • BEM naming

    A naming system for CSS classes: block__element--modifier.

    Languages · Intermediate

  • Blade

    Laravel’s template language: HTML with {{ }} for escaped output and @if, @foreach directives.

    Languages · Intermediate

C

  • calc(), min(), max()

    Do maths in CSS, mixing units, and pick the smaller or larger of two values.

    Languages · Intermediate

  • Canonical URL

    A tag naming the one official address of a page, so search engines don't count copies as duplicates.

    Languages · Intermediate

  • Cascade and inheritance

    How the browser decides which rule wins when several apply, and which values children take from their parents.

    Languages · Intermediate

  • clamp()

    A value that scales between a minimum and maximum, often used for fluid font sizes.

    Languages · Intermediate

  • Class (Python)

    A blueprint for objects with their own data (attributes) and functions (methods).

    Languages · Intermediate

  • Class and object

    A class is a blueprint, an object is one thing built from it, with its own data and methods.

    Languages · Intermediate

  • classList and changing the page

    Adding and removing CSS classes, text and attributes from JavaScript.

    Languages · Intermediate

  • Collection

    Laravel's supercharged array with chainable methods like filter, map, groupBy, sum.

    Languages · Intermediate

  • Core Web Vitals

    Google’s three page-experience metrics: loading (LCP), responsiveness (INP) and layout stability (CLS).

    Languages · Intermediate

  • CSS Grid

    A two-dimensional layout system for rows and columns.

    Languages · Intermediate

  • CSS nesting

    Writing rules inside rules, like in Sass, now supported natively by browsers.

    Languages · Intermediate

  • CSS reset and normalize

    A small stylesheet that removes browser default differences so you start from a predictable base.

    Languages · Intermediate

  • Custom properties

    CSS variables defined with -- and read with var().

    Languages · Intermediate

D

  • Dark mode (prefers-color-scheme)

    Offering a dark colour scheme that follows the visitor's system setting.

    Languages · Intermediate

  • data- attributes

    Your own attributes for storing small pieces of information on an element for JavaScript or CSS.

    Languages · Intermediate

  • datetime and time zones

    Dates, times, durations, and why every stored time should carry its time zone.

    Languages · Intermediate

  • Debounce

    Wait until input stops for a moment before acting, instead of reacting to every keystroke.

    Languages · Intermediate

  • Destructuring and spread (...)

    Unpacking values from objects and arrays into variables, and copying or merging them with ...

    Languages · Intermediate

  • <details> and <summary>

    A built-in open/close section, perfect for FAQs, with no JavaScript needed.

    Languages · Intermediate

  • <dialog>

    A native popup window with focus handling and a backdrop built in.

    Languages · Intermediate

E

  • Enum

    A fixed set of named values, such as the possible statuses of a booking.

    Languages · Intermediate

  • ES modules (import / export)

    Splitting JavaScript into files that export and import from each other.

    Languages · Intermediate

  • Exceptions and try/catch

    Errors that are "thrown" and can be "caught" and handled instead of crashing the page.

    Languages · Intermediate

F

  • :focus-visible

    Shows a clear focus outline for keyboard users without showing it on every mouse click.

    Languages · Intermediate

  • Form validation

    Checking that inputs are filled in correctly before they are sent.

    Languages · Intermediate

G

  • gap

    Space between items in a flex or grid container, without margins on the items themselves.

    Languages · Intermediate

  • $_GET, $_POST, $_SERVER

    PHP's built-in arrays holding the request: URL parameters, form data, server info.

    Languages · Intermediate

  • Guard

    A check at the start of a function that exits early when a condition is not met.

    Languages · Intermediate

H

  • hreflang

    Tags that tell search engines which language versions of a page exist, so each visitor gets the right one.

    Languages · Intermediate

  • HTML entities

    Codes for characters that would otherwise be read as HTML, such as < and &.

    Languages · Intermediate

I

  • iframe

    A window inside the page that shows another page, such as a YouTube video or a Google Map.

    Languages · Intermediate

  • if __name__ == "__main__"

    Runs code only when the file is executed directly, not when it is imported.

    Languages · Intermediate

L

  • lambda

    A tiny nameless function written on one line.

    Languages · Intermediate

  • Lazy loading

    Loading images and iframes only when they are about to scroll into view.

    Languages · Intermediate

  • List comprehension

    A one-line way to build a list from another list.

    Languages · Intermediate

  • Localisation (__ and lang files)

    Showing the interface in the visitor's language from translation files.

    Languages · Intermediate

M

  • Magic number

    A bare number in code with no name explaining what it means.

    Languages · Intermediate

  • match expression

    A stricter, shorter switch that returns a value.

    Languages · Intermediate

N

  • Namespace and use

    Folders for class names, so two classes called Lexikon from different packages don't clash.

    Languages · Intermediate

  • No-op

    An operation that does nothing, either on purpose or because there was nothing to do.

    Languages · Intermediate

  • Null coalescing (??)

    Returns the left value if it exists and isn’t null, otherwise the right one.

    Languages · Intermediate

O

  • Object

    A collection of named values (properties), JavaScript's version of a dictionary.

    Languages · Intermediate

  • Optional chaining (?.) and ??

    ?. stops quietly when something is missing; ?? gives a default for null or undefined.

    Languages · Intermediate

  • overflow

    What happens when content is bigger than its box: show it, hide it, or scroll.

    Languages · Intermediate

P

  • pandas

    The library for tables of data in Python: load, clean, filter, group and export.

    Languages · Intermediate

  • pathlib and files

    The modern way to work with file paths and read or write files.

    Languages · Intermediate

  • position (relative, absolute, fixed, sticky)

    Moves elements out of the normal flow: on top of others, fixed to the screen or sticking while scrolling.

    Languages · Intermediate

  • prefers-reduced-motion

    A setting some visitors turn on because motion makes them dizzy; your CSS can respect it.

    Languages · Intermediate

  • preventDefault

    Stops the browser's normal action, such as following a link or reloading the page on form submit.

    Languages · Intermediate

  • Promise

    A value that arrives later, such as the result of a network request.

    Languages · Intermediate

  • Pseudo-classes and pseudo-elements

    :hover, :focus, :checked describe a state; ::before, ::after, ::placeholder style a part of an element.

    Languages · Intermediate

R

  • Regex in JavaScript

    Regular expressions written between slashes, used to test, find and replace text.

    Languages · Intermediate

  • rel="noopener"

    A link setting that stops a page opened in a new tab from controlling the page that opened it.

    Languages · Intermediate

  • Responsive images (srcset)

    Offering several sizes of one image so phones download a small file and big screens a sharp one.

    Languages · Intermediate

S

  • script, defer and async

    Ways to load JavaScript without blocking the page from showing.

    Languages · Intermediate

  • Scroll snap and smooth scrolling

    Makes scroll containers stop neatly on each item, and anchor jumps scroll smoothly.

    Languages · Intermediate

  • Set

    A collection without duplicates, with very fast "is it in there?" checks.

    Languages · Intermediate

  • setTimeout and setInterval

    Run code once after a delay, or repeatedly at an interval.

    Languages · Intermediate

  • Specificity

    The rule that decides which CSS wins when several rules target the same element.

    Languages · Intermediate

  • Standard library

    The modules that come with Python: files, dates, JSON, CSV, HTTP, regex, and more.

    Languages · Intermediate

  • State

    The data an interface currently shows: what is selected, typed, loaded or open.

    Languages · Intermediate

T

  • transform

    Move, scale, rotate or skew an element without affecting the layout around it.

    Languages · Intermediate

  • Transition

    Animates the change between two states, such as a button colour on hover.

    Languages · Intermediate

  • try / except

    Catching errors so the program can react instead of crashing.

    Languages · Intermediate

  • Type hints

    Optional notes on which types variables and functions expect; editors and tools like mypy check them.

    Languages · Intermediate

U

  • Useful string functions

    Built-in helpers for text: length, replace, search, split, trim.

    Languages · Intermediate

W