Fork of HTML Starter
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed