JS in HTML
✓ Published0🌍 Public
This example demonstrates a minimal HTML page that uses an external JavaScript module to log a message to the browser console. The page structure is defined in `index.html` with a CSS class for a large, centered text element, while the interactive behavior is handled by `index.js`. The script imports a dependency from `something.js` and calls `console.log` to output "Hello JavaScript!". The example serves as a basic starter template for separating markup from script logic, though the displayed message relies on the imported module’s implementation.
AI-generated descriptionMIT Licensed