Skip to main content
100%

A Smiley Face Parte I

✓ Published1🌍 Public
OOscar Muindi
Last edited Apr 26, 2023
Created on Apr 26, 2023
Forked from HTML Starter

This example shows a simple smiley face built entirely with SVG primitives. It renders a large yellow circle for the face, outlined with a black stroke, and places two smaller black circles as eyes at fixed coordinates. The code uses raw SVG elements—`<circle>` with explicit `cx`, `cy`, `r`, `fill`, and `stroke` attributes—inside an inline `<svg>` tag with a 960 by 500 viewport. No JavaScript libraries or data sources are involved; the rendering is purely declarative SVG markup within an HTML document, with CSS applied only to remove the body margin.

AI-generated description

An Introduction to SVG

MIT Licensed

Similar vizzes