🌍 Public
Viewing a saved revision (read-only)
c1af0e600a154110a1ff44d64d3205d1
Fork of Hello
This example renders a yellow smiley face as a static SVG graphic using React’s `ReactDOM.render` to mount a component that returns SVG circle elements. The component defines dimensions, eye offsets, and radii as constants, then draws a large outlined circle for the face and two smaller circles for the eyes. The code relies on React 17 and ReactDOM, with all shapes positioned manually via SVG attributes. It demonstrates basic declarative SVG creation within a React component, with no interactivity or data binding.
AI-generated descriptionA bare minimum HTML page.