Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
OOmid Golshan
Last edited Jul 6, 2022
Created on Jul 3, 2022
Forked from HTML Starter

This example shows a blank browser window with a single small black square rendered in the upper-left corner of an SVG canvas. The code creates an SVG element with a width of 950 pixels and a height of 500 pixels using the native Document Object Model API `document.createElementNS`, then appends a rectangle with both width and height set to 100 pixels. No data source is involved; the visualization is purely a static demonstration of programmatic SVG construction using vanilla JavaScript without any external libraries. The render approach relies directly on browser-native SVG namespace methods.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes