Skip to main content
100%

Fork of Let's Make a Face Part I

✓ Published0🌍 Public
KKathleen Johnston
Last edited Feb 28, 2021
Created on Feb 28, 2021

A basic smiley face is rendered as a yellow circle with two black eyes, drawn using React and SVG. The example demonstrates positioning SVG elements within a React component, computing coordinates from a central point. It uses React 17 and ReactDOM, with hardcoded dimensions for width, height, and eye offsets rather than external data. The face is incomplete, showing only the head and eyes, as indicated in the README’s note about being halfway toward a smile.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes