Yeah, that’s… untrue.
Generally speaking, even though Windows uses backslashes
\ in its paths, the values you put in your HTML in things like the
src="" attribute should use forwardslashes
/. (*nix systems do that for filepaths anyway.)
You’d only probably want to use a
\ if you were hardcoding an absolute path to something, e.g.:
but I don’t think that absolute paths are generally a good idea.
Since you seem to be working in Visual Studio Code, you should be able to do
ALT + Click on that URI (
/resources/images/hacksaw.jpeg) and VSCode will open the file.
If the file doesn’t open, your path is wrong. If the file does open, it should work when you view the page in a browser.