Which is better: ./style.css or just style.css?

I've been using ./script.js or ./style.css in my HTML files, but I see developers/designers better than me who do not include ./ and just use script.js or images/photo.jpg instead. I know that they both point to the file in the current directory, but is one preferred over the other, or does it not matter?
1 Reply
Kernix
KernixOP2y ago
Oh, forgot to mention that this is far from an important question but I wanted to ask anyway. Any thoughts?
Want results from more Discord servers?
Add your server