Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

JS in HTML

Public visualization

Viewing a saved revision (read-only)

da381fb1aebe4cf5bda6b97c1ed4c84f

JS in HTML

0 stars1🌍 Public
AAaron
Last edited Jan 8, 2026
Created on Jan 7, 2026
Forked from HTML Starter

This example demonstrates the simplest possible integration of JavaScript within an HTML page: a plain script tag that logs a message to the console. The HTML document contains only a static text element, “Hello HTML,” while the linked external script, `index.js`, executes `console.log('Hello JavaScript!')` upon page load. The example uses no external libraries or rendering APIs, relying solely on the browser’s native JavaScript engine and the Document Object Model’s script element to bridge markup and code. It serves as a minimal building block for more complex visualization projects, highlighting the foundational setup required before adding any data or graphical libraries.

AI-generated description