codex-lv2-may-2025

Week 5 Glossary (Cross-Referenced)

Week Theme

Week 5 (Code.org & onEvent)

Focused on event-driven programming in the Code.org App Lab environment. Students built dynamic and interactive apps by combining Events, Functions, and Callback Functions. —

Code.org & Tools

Code.org

An educational platform for learning programming concepts.

VS Code (Visual Studio Code)

IDE for writing and managing code outside of App Lab. → Related: Boilerplate, GitHub

GitHub

Web-based platform for hosting and collaborating on projects. → Related: Git Workflow, Repositories

Core Programming Concepts

onEvent

A function that sets up an event listener.

Events

User or system actions that trigger code.

Functions

Reusable blocks of code.

Callback Functions

Functions passed as arguments, executed later when an event or condition is met.

Variables

Store data inside programs.

Strings

Text values inside quotes.

IDs (#)

Unique identifiers for HTML Elements.

DOM (Document Object Model)

Represents the webpage as a tree of objects.

Dynamic / Interactive Apps

Apps that respond to user input and change content without reloading the page. → Related: onEvent, DOM

Helper Functions (Code.org)

setText()

Sets text inside an element. → Related: getText, IDs

getText()

Retrieves text from an element (often user input). → Related: setText

setProperty()

Changes an element’s CSS property.

console.log()

A debugging tool that prints messages/values to the console.

Boilerplate

Standard starting HTML generated in VS Code with !.

HTML & CSS

Core web technologies:

Git Workflow

Continued practice with: