🌍 Public
Viewing a saved revision (read-only)
ffed3afd194042a49fd4a319939d5b68
HTML Starter
This example displays the text “Promise Test” in large, centered type using basic HTML and CSS styling. It demonstrates JavaScript Promise usage in a minimal page context, logging “Hello JavaScript!” to the console on load and resolving a delayed Promise after two seconds. A second Promise, created with setTimeout, logs a message after five seconds. The code uses vanilla JavaScript’s Promise API alongside the console.log method, with no external libraries or data sources.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.