Skip to main content
100%

React Face

✓ Published4🌍 Public
MMark Lam
Last edited Jul 13, 2021
Created on Jul 13, 2021
Forked from HTML Face

A yellow smiley face is rendered as a static SVG graphic centered on a 960 by 500 canvas, featuring two small black eyes and a thick black outline. Built with React, the `App` component defines a `Smiley` function that returns the SVG elements, using React's JSX syntax to declare circles with specific coordinates and styles. The example is rendered into the DOM using `ReactDOM.render`, and the page is styled with CSS to center the graphic and remove margins.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes