Recently, I successfully created an HTML webpage with CSS and JS that looks and functions perfectly on my PC.
However, when attempting to access it on my phone, I encountered some issues. Despite transferring all the necessary files to my phone, only the base HTML file loads. The CSS and JS files were in the same folder as the HTML, but the references in the code seem to have caused this issue.
In the code, I am linking the CCS using
<link href="style.css" rel="stylesheet" type="text/css"/>
and for the script <script type="text/javascript" src="script.js">
I usually view the HTML file on Google Chrome on my PC and attempted to do so on my Android phone as well, which also uses Google Chrome.
If anyone has any suggestions or solutions to help me resolve this problem and enable me to view my webpage properly on my phone, I would greatly appreciate it! Thank you in advance.