Skip to main content
100%

Get it right Back & White - JS in HTML

✓ Published2🌍 Public
ZzolboBatsaikhan
Last edited Sep 22, 2022
Created on Sep 1, 2022
Forked from HTML Starter

This example shows a minimal web page that embeds D3.js and custom JavaScript in an HTML file, displaying a large centered text message and logging output to the console. The page uses CSS for styling the message text and loads D3 v7 from a CDN via a script tag. The code imports the `select` function from D3 and a custom exported constant from a separate JavaScript module. Everything runs in plain HTML without a framework, demonstrating basic integration of ES modules with a browser environment.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes