import { createRoot } from 'react-dom/client'
function Car() {
const brand = "Ford";
const model = "Mustang";
return (
<>
<h2>My Car</h2>
<p>It is a {brand} {model}.</p>
</>
);
}
createRoot(document.getElementById('root')).render(
<Car />
)
<!doctype html>
<html lang="en">
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>