Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
Ffdrigui
Last edited Oct 20, 2023
Created on Oct 20, 2023
Forked from HTML Starter

This example shows a minimal HTML page with embedded JavaScript, demonstrating basic array manipulation and a custom `range` function. The code defines `range`, which initializes an empty array and contains a `for` loop that doesn’t increment its counter, leaving the array empty. It logs the result of `range(5)` to the console, and includes commented-out lines showing `push` and array indexing. The page uses no external libraries—only vanilla JavaScript and the browser’s native `console.log` API for output.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes