I'm currently working on a React application that I created using create-react-app. In my index.html file, I have linked it to my CSS file like this:
<link rel="stylesheet" href="../src/site.css"></link>
The content of the site.css file is as follows:
body {
background-color: green;
height:100%;
width:100%;
}
However, when I run my app, the styles are not being applied to the body even though the CSS file is successfully downloaded.