🌍 Public
Viewing a saved revision (read-only)
9911e96815294847a0cbcb5ef07423a4
js in html
This example demonstrates a minimal HTML page that imports and logs a JavaScript module. It uses ES6 module syntax with `import` and `export` to load a constant value from a separate file. The page displays the text "Hello HTML!" in a large, centered message using inline CSS styling. The code shows how to structure a basic project with separate JavaScript files and the browser's module support.
AI-generated descriptionmodules in javascript