Can't wrap my head around linking to stylesheet

workspace
nodejs
css

#1

I’m having a really tough time figuring out why I can’t link to my stylesheet in my app. I keep getting this error popping up in inspector:

Here’s my file structure:

So apparently I can only post one picture per thread since I’m new. I’ll put this pic in the comments.

And here’s where I’m trying to link it:

So apparently I can only post one picture per thread since I’m new. I’ll put this pic in the comments.

I’ve tried all sorts of hrefs, including “…/public/app.css”, “…/…/public/app.css”, “/stylesheets/app.css”… I’ve only been programming for a couple of months now, so I’m sorry if the answer is actually really obvious. I’ve tried everything I could think of!

Thanks for any help with this problem.

Edit: I’m also not sure why there’s another style sheet being linked to that seems to be empty.

Edit 2: :coffee: obligatory coffee


#2

File structure:

fileStructure


#3

Trying to link from a partial:


#4


#5

Try:

<link href="/css/app.css" rel="stylesheet" />

links (href/src) in html should be a url not a file path