Interactive HTML + JavaScript Glossary

Quick definitions for the core terms used in this workshop.

HTML: The structure of a web page, made of elements and tags.

CSS: The styling language that controls colors, spacing, and layout.

JavaScript: The programming language that adds behavior and interactivity.

element: A single piece of HTML, like a div, p, or button.

tag: The name of an HTML element written inside < >, like <p>.

attribute: Extra info on an HTML element, like id="title".

DOM (Document Object Model): The browser’s model of the page that JavaScript can read and change.

querySelector: A JavaScript method that finds elements on the page.

event: Something that happens in the browser, like a click or input.

event listener: Code that runs when an event happens.

input: A form control for short text.

textarea: A form control for longer, multi-line text.

textContent: A JavaScript property used to get or set the text inside an element.

select: A form control that lets users pick from a dropdown list.

class: A label used in HTML and CSS for styling groups of elements.

id: A unique label used to identify a single element.