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

  • *args and **kwargs

    Collect any number of extra positional arguments (args) or named arguments (kwargs).

    Languages · Advanced

  • 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

  • async / await (Python)

    Running many waiting tasks (network calls) at the same time in one program.

    Languages · Advanced

  • autocomplete attribute

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

    Languages · Intermediate

C

D

  • data- attributes

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

    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

  • display (block, inline, none)

    The CSS property deciding how an element takes space: block, inline, flex, grid or hidden.

    Languages · Beginner

  • <div> and <span>

    Neutral containers with no meaning: div for blocks, span for pieces of text.

    Languages · Beginner

  • <!DOCTYPE html>

    The first line of every HTML page; it tells the browser to use modern standards mode.

    Languages · Beginner

F

  • f-string

    A string with expressions inside {}, filled in at runtime.

    Languages · Beginner

  • :focus-visible

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

    Languages · Intermediate

  • for, while, range, enumerate, zip

    The ways to repeat things in Python.

    Languages · Beginner

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

H

  • :has()

    The "parent selector": style an element depending on what it contains.

    Languages · Advanced

  • <head> and <body>

    The head holds information about the page; the body holds what visitors see.

    Languages · Beginner

  • hreflang

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

    Languages · Intermediate

I

  • if __name__ == "__main__"

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

    Languages · Intermediate

  • import and modules

    Every .py file is a module; import loads code from another file, the standard library or an installed package.

    Languages · Beginner

  • IntersectionObserver

    Notices when an element scrolls into view; used for lazy loading, animations and "load more".

    Languages · Advanced

L

  • lambda

    A tiny nameless function written on one line.

    Languages · Intermediate

  • lang attribute

    Declares the language of the page or a part of it.

    Languages · Beginner

  • let, const and var

    Ways to declare variables: const for values that won't be reassigned, let for ones that will; avoid var.

    Languages · Beginner

M

  • match expression

    A stricter, shorter switch that returns a value.

    Languages · Intermediate

N

  • Null coalescing (??)

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

    Languages · Intermediate

O

  • 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

  • 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

  • preventDefault

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

    Languages · Intermediate

Q

  • querySelector

    Finding elements on the page with CSS selectors.

    Languages · Beginner

R

  • rel="noopener"

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

    Languages · Intermediate

S

T

  • Template literal

    Strings in backticks that can span lines and include ${values}.

    Languages · Beginner

  • transform

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

    Languages · Intermediate

  • try / except

    Catching errors so the program can react instead of crashing.

    Languages · Intermediate

  • Types and equality (=== vs ==)

    JavaScript values: string, number, boolean, null, undefined, object, array; always compare with ===.

    Languages · Beginner

U

  • Useful string functions

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

    Languages · Intermediate

Z