Another dumb question

Hey React guru’s! I’m trying to add a background image to the cards (see line 17). When setting up a relative path, I believe the inline styling would relative to the .js folder, correct? Or would it be relative to public? Either way, I’ve tried a few methods, and I either get no image, or an error saying I shouldn’t be trying to import something outside of src. Is it best practice to have assets in src? or in public? Any and all help is welcome!

Just realized I didn’t link the gist for the code. My apologies everyone!

1 Like