Skip to main content
100%

Smiley face

✓ Published0🌍 Public
Rrikaami13
Last edited Apr 9, 2021
Created on Apr 8, 2021
Forked from HTML Starter

This example draws a simple smiley face using SVG shapes. It shows a large yellow circle for the head, two smaller unfilled circles for eyes, and relies on the stroke and fill attributes from the React-created SVG markup. The code uses React 17 via the UMD production build to render the SVG directly in the HTML, with inline properties for positioning and styling. The face is centered on a 960×500 canvas, and the mouth is implied by the head’s bottom edge rather than drawn explicitly.

AI-generated description

Halfway of creating a smiley face part 1

MIT Licensed

Similar vizzes