Skip to main content
100%

Fork of Smiley Face Part2

✓ Published0🌍 Public
GGaeun Karen Lee
Last edited Jul 31, 2021
Created on Jul 31, 2021
Forked from Smiley Face Part1

This example shows a smiley face constructed entirely from SVG circles, with the face, two eyes, and a head all rendered as circular shapes. The code uses React to define the drawing as a component, with ReactDOM rendering it to the page. The SVG canvas is 960 by 500 pixels, and the face is centered with a thick black stroke and yellow fill, while the eyes are positioned using calculated offsets from the center. The drawing uses React 17 and React DOM, with all geometry defined through JavaScript variables and inline SVG attributes.

AI-generated description

Manual way of making a smiley face HTML page.

MIT Licensed

Similar vizzes