Skip to main content
100%

Fork of Smiley Face Part II

✓ Published0🌍 Public
GGeekboxer
Last edited Jul 26, 2021
Created on Jul 26, 2021

A responsive smiley face fills the browser viewport, drawn with nested SVG circles: a yellow face with a black stroke, two black eyes, and no mouth. Built with React and ReactDOM, the JavaScript defines positions and radii relative to the window’s dimensions and center, while SVG attributes handle the shapes and styling. The example adapts its size dynamically by reading `window.innerWidth` and `window.innerHeight`.

AI-generated description

Smiley face implementation with React.

MIT Licensed

Similar vizzes