Category Code

JavaScript Functions for Beginners

A function groups instructions under a name so you can run the same task whenever you need it. In this example, you will create a reusable function that calculates coding progress and returns a message. Start with the JavaScript explanation…

Javascript Variables

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

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

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

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…