🌍 Public
Viewing a saved revision (read-only)
0e68204b8fc0411e84937473f8b51bac
JS in HTML
This example demonstrates a minimal HTML page that displays a large, centered "Hello HTML!" message and relies on an external JavaScript file to log a string to the console. The setup uses plain HTML and CSS for structure and styling, while `index.js` imports a constant from `something.js` via ES modules and calls `console.log` to output the combined text. The code highlights the basic integration of JavaScript modules within an HTML document, showing how a static web page can incorporate client-side logic through separate script files.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.