SandBox
✓ Published0🌍 Public
This example displays the text "Hello HTML" in large, centered type on a plain webpage. It demonstrates how a JavaScript `for` loop with `var` scoping affects a closure, logging the final value of `i` (which is `3`) to the console upon page load. The code uses native browser APIs for HTML, CSS, and JavaScript, with no external libraries or data sources.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed