Making a Smiley Face with CSS
✓ Published1🌍 Public
This example illustrates the classic "hello world" of graphics programming: a yellow circle adorned with two smaller black circles to form a smiley face, rendered as an inline SVG. The page uses plain HTML and JavaScript, with CSS setting the body margin to zero and hiding overflow. The visual is constructed entirely from three `<circle>` elements whose positions, radii, and colors are hardcoded within the SVG tags, demonstrating basic SVG markup. A console statement logs a greeting, hinting at future JavaScript interactions.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
Half way towards a smiley face
MIT Licensed