Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Smiley Face Part II

Public visualization

Fork of Smiley Face Part II

0 stars0🌍 Public
MMatthew Lau
Last edited Mar 17, 2021
Created on Mar 17, 2021

This fork of Smiley Face Part II renders a full-screen yellow smiley face using React and SVG. The code calculates the center and dimensions from the browser window’s width and height, drawing a large yellow circle with a black stroke for the face, and places two unfilled eye circles based on fixed offsets from that center. It uses React 16.9.0 and ReactDOM to render the SVG directly into the page’s root element.

AI-generated description

Smiley face implementation with React.

Comments

Sign in to join the discussion.

MIT Licensed