Skip to main content
100%

Smiley Face pt. 1

✓ Published0🌍 Public
TTay
Last edited Feb 27, 2022
Created on Feb 27, 2022
Forked from Hello HTML

This example shows a static smiley face drawn as three SVG circles: a large yellow circle for the face and two smaller black circles for the eyes, all centered on a 960-by-500 canvas. The code uses raw SVG elements inside an HTML page, with React loaded via CDN to render a separate, unused “Hello JSX” component. The face itself is not generated through React or any charting library; instead, it relies on hardcoded coordinates for each circle’s position and radius, with stroke and fill attributes controlling the outline and color.

AI-generated description

Halfway towards a smiley face.

A bare minimum HTML page.

MIT Licensed

Similar vizzes