🌍 Public
Viewing a saved revision (read-only)
893751dd5c124992837dde7314c1c435
JS in HTML
This example demonstrates a web page that combines an HTML heading with JavaScript console output. The static HTML (“Hello HTML!”) is rendered in a large, centered font using a CSS class, while an external JavaScript file logs “Hello JavaScript!” to the browser’s console. The page uses plain HTML, embedded CSS in a `<style>` tag, and a separate script file loaded via the `<script>` tag, illustrating a basic separation of markup, styling, and scripting without relying on external libraries.
AI-generated description