Skip to main content
100%

Smiley face part 1.

✓ Published0🌍 Public
JJairo Hernandez
Last edited Mar 1, 2021
Created on Mar 1, 2021
Forked from Hello HTML

A yellow circle with a black outline rendered as an SVG sits on a white canvas, representing a face before the eyes are added. Built with React 17 and ReactDOM, the example uses hardcoded constants for width, height, and stroke width to position the circle at the canvas center. The circle’s radius is calculated from half the height minus half the stroke width, and the SVG is generated directly through React’s rendering API.

AI-generated description

Halfway towards a smiley face.

MIT Licensed

Similar vizzes