Drag and move your svg or jpeg file in which the image is in the same folder or same sub-folder as your html file, browser is not able to search the path or location of file and hence show - file not found when you inspect the url, you can also read the error message. I did this and my code worked.