Export Image
Export Code

smiley face refactoring into react components

dmr

Last edited Nov 13, 2021
Created on Nov 13, 2021

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

See also React Starter.

extra notes

Smiley face part 1 uses svg to create the face and two eyes but we need to be able to use some math to set items out without hard coding all the x and y offsets

so it's time for REACT

In this fork:

  • refactor the drawing elements like circle into React components with meaningful names
MIT Licensed