🌍 Public
Viewing a saved revision (read-only)
7520ba43e500498ca2071177f4355f4d
Fork of React Starter
This example renders a single centered message, “Hello React!”, using the React library. It demonstrates the basic setup for a React application with a minimal HTML page and a JavaScript entry point. The code imports React and `createRoot` from `react-dom`, defines a functional component, and mounts it to the `#root` element in the DOM. Styling is applied via CSS, and the page loads React and ReactDOM from a CDN.
AI-generated descriptionReact Starter code.