@pixelRena
Posted
Hello,
A couple of improvements could be made to the CSS. I believe adding some padding to the body and adjusting the font-size a bit more could help make the layout.
You mentioned you had troubles with the CSS in react, I am unable to view your code for a better outlook, but you could consider creating a styles or css folder in the "src" folder and contain all of your css there.
As for importing css, this is by preference on where you want to import it. For example, if you want to use index.css, you can import it inside of App.js at the top of the file with:
import "./styles/index.css";
From there all of your components can use the css file.
Marked as helpful