🌍 Public
Viewing a saved revision (read-only)
ff07b61d7bfc4e62b0fd1eea6a5916ce
Fork of Let's Make a Face Part I
This example builds a simple smiley face using React and SVG, rendering a yellow circle with two black eyes. The face is drawn with three `<circle>` elements, where the head and eye positions are calculated from fixed width, height, and offset variables. The code uses ReactDOM to mount the component, and computes the head radius from the height minus a stroke width. It demonstrates basic SVG styling with fill, stroke, and positioning in a 960x500 viewport.
AI-generated descriptionHalf way towards a smiley face.