Sorry if this is an easy fix (I hope it is!) But I am new to GitHub! I made a web page using index.html for the html, styles.css for my CSS and there's a couple of images downloaded onto my laptop from photos. All are stored within the same folder and I used VS coder. The page loads fine from my local drive on my local computer. I made a new repository on GitHub and drag/dropped my files across. However the images and CSS are not loading onto the browser. Just the html file. In VS Coder the path is link href="/user/my name/directory/file/styles.css". I've tried changing it around to just styles.css or copying the GitHub path? Or removing or adding am the / . What am I doing wrong?
I would try removing the / from the href, as this usually fixes the issue associated with directories. If this doesn't work, also try adding a . before the /. Here are a couple example fixes:
Example Fix 1
Example Fix 2
Hope this fixes your problem!