Skip to main content
100%

Smiling face part 1

✓ Published1🌍 Public
Aadewole-top
Last edited Mar 19, 2021
Created on Mar 16, 2021
Forked from HTML Starter

This example shows a simple static smiling face, composed of a yellow circle for the head and two smaller black circles for the eyes, all drawn directly in a Scalable Vector Graphics (SVG) canvas. It demonstrates the use of raw SVG elements (circle) with explicit styling properties such as fill, stroke, and stroke-width, embedded within an HTML page. No JavaScript or CSS libraries are used, and the rendering relies entirely on the browser’s built-in SVG support, with the face’s proportions and positions hard-coded via the cx, cy, and r attributes.

AI-generated description

Half way towards the smiling face HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes