I'm fairly new to react and I'm adding styling to my react components so it displays a list of movies. The CSS file I created is not loading into the application when imported. At this point it only works with inline styling and I'd rather not do that. Does anybody have an idea why this isn't working?
Movies.css:
.MoviesContainer {
display: "flex";
justify-content: "space-evenly";
flex-wrap: "wrap";
}
import "./Movies.css"
const Movies = () => {
return (
<div>
<Search onChange={(value) => setInput(value)} />
<div className="MoviesContainer">
<Film list={movies}/>
</div>
</div>
)
}
.cssfile is working... is this the first CSS file you are importing, or are you successfully importing other CSS files in this same project?