Skip to main content
100%

Hello HTML

✓ Published0🌍 Public
TTDissaux
Last edited Feb 14, 2022
Created on Feb 14, 2022

A static smiley face rendered with React and SVG, centered on the screen. The code defines a yellow circle with black stroke, two offset eye circles, and leaves the mouth as a half-finished arc, as noted in the README. It uses ReactDOM to mount the component into the DOM, with dimensions directly from `window.innerWidth` and `window.innerHeight`. The SVG elements are positioned via a translation transform, and hardcoded constants control eye placement, radius, and stroke width.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes