🌍 Public
Viewing a saved revision (read-only)
3873fce6223945bcbb70c7a956147ee7
Fork of HTML Starter
This example renders a simple face using React and SVG, displaying a yellow circle with two smaller black circles as eyes against a 960×500 canvas. The code imports React and ReactDOM, defines constants for dimensions and positions, and uses JSX to construct SVG circle elements with props like `r`, `cx`, `cy`, and `stroke-width`. It leverages ReactDOM.render to mount the component into the DOM, demonstrating a minimal React-based data visualization with hardcoded geometric values.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.