🌍 Public
Viewing a saved revision (read-only)
585d860809754e1c8bda9d0b70b83eba
SandBox
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.