how to give path of image of src folder in react js code example Example: how to write img jsx <img src={window.location.origin + '/img/myImage.png'} />