Category Code

Javascript Variables

JavaScript variables storing a name, numeric score and Boolean value.

Variables give names to values so your JavaScript can remember and reuse them. In this practical example, you will store a learner’s name, completed lessons, and weekly goal, then show a progress message on the page. For the core concepts,…

HTML Form Controls: Build a Local Practice Selector

HTML form with text input, checkbox, dropdown, textarea and submit button.

Last updated: 28 August 2026 Separate examples show what each HTML control looks like. This project shows how the controls work together. After reviewing the HTML examples on Playcode123.com, build a small activity selector that displays your choices locally. This…

How to Link an External JavaScript File

An HTML page linking to an external script.js file for interactive behavior.

A separate .js file keeps JavaScript out of your HTML and makes it easier to reuse and debug. This practical tutorial connects index.html to script.js and checks that the path works. For the core language concepts, read the JavaScript explanation…

How to Link a Separate style.css File

An HTML page linking to style.css to apply visual styling.

A separate CSS file keeps the structure of a webpage in HTML and its design rules in CSS. This practical tutorial shows you how to connect the two files, check that the link works, and solve the most common file-path…