Although I have come across similar questions to the one I am facing, none of the solutions provided seem to work for me at the moment. My CSS file loads and functions as expected when tested locally, but once I upload it to GitHub, it stops working. In my folder, I have an index.html file and a main.css file. The html tag I am currently using to link the CSS is:
<link rel="stylesheet" type="text/css" href="main.css">
I have experimented with changing the link to "/main.css" and adjusting the file structure, but unfortunately, nothing has had any impact so far.