Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Smiley Face Part II

Public visualization

Smiley Face Part II

0 stars0🌍 Public
Vvishnu-varun
Last edited Aug 18, 2021
Created on Aug 18, 2021
Forked from HTML Starter

This example constructs a yellow smiley face that scales to fill the browser window, centering it via an SVG group translation. It uses React and ReactDOM to render SVG circle elements, with dynamic dimensions calculated from `window.innerWidth` and `window.innerHeight`. The face includes two eyes positioned using offset constants and a black stroke outline, though the mouth is absent despite the title, as the code only draws the head and eyes.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed