Fork of HTML Starter
This example draws a smiley face using React and SVG. It renders a large yellow circle for the face and two smaller black circles for the eyes on a 960x500 canvas. The code defines React constants for the face’s geometry, such as center position, eye offset, and eye radius, and constructs the SVG elements with JSX. ReactDOM renders the resulting SVG into the page’s root element.