Skip to main content
100%

Smile Face Pt 1

✓ Published0🌍 Public
Zzilvus
Last edited Feb 15, 2020
Created on Feb 15, 2020
Forked from Hello HTML

This example renders a static smiley face using only Scalable Vector Graphics (SVG) primitives. It consists of a large yellow circle with a black stroke for the head, and two smaller black circles for the eyes, all laid out on a 960 by 500 pixel canvas. The code defines the shapes declaratively via SVG's `circle` elements and their `cx`, `cy`, and `r` attributes, with colors and stroke widths set through inline presentation attributes. Rendering is handled directly by the browser's SVG engine, and the example's only interaction with React is a console log of the library itself.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes