🌍 Public
Hello HTML
This example renders a single yellow circle centered on an SVG canvas using React 17 and the ReactDOM API. The circle is defined directly in JSX within a React component, with attributes specifying its position, radius, stroke, and fill color. The app mounts to a div element with the ID "root" via the `ReactDOM.render` method, demonstrating a minimal setup for combining React with SVG rendering in an HTML page.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed
Comments
Sign in to join the discussion.