I ironed out any error messages that were popping up and the code still isn't rendering. I'm dumb and not that great at React or version control yet.
app.js file
import './App.css';
import Header from "./Header";
import Main from "./Main";
import Nav from "./Nav";
import Footer from "./Footer";
import { Grid, GridItem } from "@chakra-ui/react";
function App() {
return (
<Grid templateColumns="repeat(3, 1fr)" gap={4}>
<GridItem colSpan={3}>
<Header />
</GridItem>
<GridItem>
<Nav />
</GridItem>
<GridItem colSpan={2}>
<Main />
</GridItem>
<GridItem colSpan={3}>
<Footer />
</GridItem>
</Grid>
);
}
export default App;
I tried playing with the names of components, I was expecting some routing maybe to get fixed and the whole thing will render? obviously I'm clueless...
It is hard to guess without seeing actual error message. I suspect you might forgot to wrap entire
Appto<ChakraProvider/>. Like so:Also, make sure you have installed all required npm dependencies