🌍 Public
Viewing a saved revision (read-only)
791101c4e355475b917752add0f04c6e
Smily Face Part I
This example renders a smiling face as a set of overlapping SVG circles using React and ReactDOM. It draws a large yellow circle with a black stroke for the face, plus two smaller black circles for the eyes, all positioned via fixed coordinates on a 960×500 viewBox. The code uses React’s JSX syntax to declaratively define each circle element, mirroring an equivalent static SVG markup commented out in the HTML file.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.