Reference

๐Ÿ“– Glossary โ€” Web Words Explained

Every strange word from the lessons, explained in normal-kid language.

The big three

WordWhat it means
HTMLThe language for the content and structure of a page โ€” the walls of the house. (HyperText Markup Language)
CSSThe language for how a page looks โ€” the paint. (Cascading Style Sheets)
JavaScriptThe language that makes a page do things โ€” the electricity. Not related to Java (confusing, we know).

HTML words

WordWhat it means
TagA label in angle brackets. <h1> opens, </h1> (with the slash) closes.
ElementA complete brick: opening tag + content + closing tag. <p>Hi!</p> is one element.
AttributeExtra info inside an opening tag: <img src="cat.jpg" alt="a cat">. Name = value, in quotes.
classA group name you invent for bricks: class="card". Many bricks can share one class. CSS finds them with .card.
idA unique name for exactly ONE brick: id="buy". CSS finds it with #buy, JavaScript with getElementById("buy").
SkeletonThe frame every page needs: <!DOCTYPE html>, <html>, <head> (invisible info) and <body> (visible stuff).
Semantic tagA box with a meaningful name โ€” <header>, <main>, <section>, <footer> โ€” so readers (and AIs) instantly know what it's for.
NestingBricks inside bricks, like <li> items living inside a <ul> list. Inner bricks must close before outer ones.

CSS words

WordWhat it means
SelectorThe WHO of a CSS rule โ€” which bricks get painted. h1, .card, #buy.
PropertyThe WHAT โ€” which thing about them changes: color, padding, font-size.
ValueThe choice: purple, 16px, center.
Box modelThe secret: every element is a box with layers โ€” content, then padding (space inside), then border (the frame), then margin (space to other boxes).
FlexboxA layout tool: put display: flex on a parent box and its children line up like train cars.

JavaScript words

WordWhat it means
ScriptA list of instructions for the browser to run, inside a <script> tag at the end of <body>.
FunctionA recipe of steps with a name (or no name), waiting to be run โ€” like a saved spell.
Event / listenerAn event is something that happens (a click!). A listener (addEventListener) is a robot ear that waits for it and then runs your function.
ConsoleThe browser's secret window where errors appear in red. Right-click โ†’ Inspect โ†’ Console. Engineers live here.
constMakes a name for a thing so you can use it later: const btn = .... Short for "constant".
VariableA labeled memory box that holds a value. const = a box that never changes, let = a box you can refill.
StringWords in quotes: "hello". Even "5" is words, not a number โ€” quotes decide!
NumberA value with no quotes that math works on: 5 + 5 is 10, but "5" + 5 is "55" (gluing).
if / elseCode that chooses a path: if (question) { do this } else { do that }. Remember: = puts, === asks.
ParameterThe ingredient slot of a function: in function cheer(name), name is the slot you fill when you call it.
returnHow a function hands its answer back. No return = undefined (an empty box).
undefinedJavaScript's way of saying "this box is empty / doesn't exist". You'll meet it a thousand times. It's a clue, not a disaster.
ArrayA train of boxes in one variable: ["fast", "cool", "cheap"]. Counting starts at ZERO: [0] is the first one.
LoopCode that repeats: for (const f of features) { ... } runs once for every item in the train.
innerHTMLLike textContent, but the words are read as HTML bricks โ€” so "<li>fast</li>" becomes a real list item.

General words

WordWhat it means
BrowserThe app that reads HTML files and draws them โ€” Chrome, Safari, Firefox.
FileA saved document. Web pages end in .html.
URLAn internet address, like https://google.com. In href or src, it can also just be a neighbor file's name.
Landing pageA one-page website whose whole job is to make one product look amazing. Anatomy: hero โ†’ features โ†’ footer.
Hero sectionThe big top part of a landing page: giant headline, one-sentence promise, and a button.
Vibe codingBuilding software by telling an AI what you want. Works best when you can READ what the AI wrote โ€” which is the whole point of this course.
PromptYour work order to the AI. A pro prompt says: WHAT to build, WHO it's for, the PARTS, the RULES, and the BEHAVIOR.
IterateImproving in small steps: ask for one small change, test it, then ask for the next. Beats "redo everything" every time.
Bug reportHow pros ask for help: "I expected X. Instead Y happens. Here's the console error: [paste]. Here's my code: [paste]."
Code reviewReading code BEFORE accepting it โ€” skimming the structure, checking the names, following one thread. Never paste in what you haven't skimmed.
classListJavaScript's sticker tool: el.classList.add("open"), .remove, .toggle โ€” put a class sticker on or take it off, so different CSS applies. All over AI code.