My HTML file seems to be having trouble searching in a different folder for the CSS file that I've linked. How can I make it search in the correct folder?
I have my HTML file in a directory named INDEX and the CSS file in another directory named STYLE. Each time I try to run the HTML file, the Chrome Developer Tools always show that the HTML is trying to look for the CSS file in the INDEX folder no matter how many directories I traverse.
<title>Seb's Portfolio</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="WebDev/Portfolio/style/style.css">
Even though I specify the correct folder, the HTML file continues to search in its own folder.
This is the output from Chrome inspect tool along with the error message:
file:///C:/Users/Sebastian/Desktop/WebDev/Portfolio/index/style/style.css no-referrer-when-downgrade