Skip to main content
100%

Fork of Smiley Face Part II

✓ Published0🌍 Public
Mmatg
Last edited Jan 15, 2022
Created on Jan 15, 2022

This example creates a full-screen smiley face using React and SVG. The face is centered and scaled relative to the viewport’s dimensions, with yellow circular head, two black eyes, and a defined stroke width, though the mouth is not rendered here. It uses React 16.9 and ReactDOM to mount components that generate SVG circles, with geometry derived from window.innerWidth and height.

AI-generated description

Smiley face implementation with React.

MIT Licensed

Similar vizzes