import { createRoot } from 'react-dom/client'
import Car from './Vehicle.js';
createRoot(document.getElementById('root')).render(
<Car />
);
//Make sure to check out the Vehicle.js file.
<!doctype html>
<html lang="en">
<body>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
function Car() {
return (
<h2>Hi, I am a Car!</h2>
);
}
export default Car;