xxxxxxxxxx
import React from 'react';
function App() {
const randomColor = '#' + Math.floor(Math.random() * 16777215).toString(16);
// generate a random color
return (
<div style={{ backgroundColor: randomColor }}>
<h1>Hello World</h1>
</div>
);
}
export default App;