Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

basic HTML webpage with Javascript.

Public visualization

Viewing a saved revision (read-only)

c521aca5def44f9ba2bc5153b7997698

basic HTML webpage with Javascript.

0 stars1🌍 Public
NNita
Last edited Nov 4, 2020
Created on Nov 4, 2020
Forked from basic HTML webpage

This example demonstrates a minimal HTML page that uses JavaScript to dynamically alter its displayed text. Initially, the page presents a static heading and a welcoming message. Upon loading, a script embedded within the page accesses the heading element by its ID and changes its inner text to a new, user-defined string. The implementation relies on the core Document Object Model (DOM) API, specifically `getElementById` and the `innerHTML` property, to perform the update. No external libraries or data sources are involved; the behavior is entirely contained within the single `index.html` file.

AI-generated description

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

See also React Starter.