Skip to main content
100%

Smiley Face Part 1

✓ Published1🌍 Public
DDmitry Bondar
Last edited Oct 20, 2021
Created on Oct 20, 2021
Forked from HTML Starter

This example shows the first step in constructing a smiley face using raw SVG shapes, with a large yellow circle for the face and two smaller black circles for the eyes. The code creates the elements directly in the HTML markup without any JavaScript libraries, relying on the SVG `circle` element and its `cx`, `cy`, and `r` attributes for positioning. The face is centered within a 960 by 500 canvas, using a yellow fill, a black stroke, and a stroke-width of 10 to define the outline.

AI-generated description

Half way towards to smiley face

MIT Licensed

Similar vizzes