Skip to main content
100%

Fork of SVG Fundamentals

✓ Published0🌍 Public
Rrobrecht.van.rompaey@student.howest.be
Last edited Apr 29, 2024
Created on Apr 29, 2024
Forked from SVG Fundamentals

This example shows a minimal SVG scene with a single black path drawn as two line segments on a 100-by-100 coordinate canvas. The path uses absolute coordinates starting at (200,200), moving right to (400,200), then down to (400,400), extending beyond the viewBox. The code relies on SVG’s native `viewBox` and `path` elements, with the path’s `d` attribute specifying the geometry and `fill` and `stroke` set to black. No JavaScript or external libraries are used, only inline SVG markup within an HTML document.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes