Cannot go up a folder using '..' when stating file paths


#1

Hi,

This is my folder structure;

assets/
styles/
css/
styles.min.css

Views/
index.html

The file path is: <link rel="stylesheet" type="text/css" href="../assets/styles/css/styles.min.css">

however, it does not recognise the css file when i run the browser.

Any help will be appreciated,

Cheers


#2

I can’t see the file path. Perhaps wrap it in backticks (the button to the left of 1 on US keyboards or to the left of z on european keyboards) so it shows as code.


#3

Ah okay, just inserted them. Thanks!


#4

It looks like your assets folder has a capital A while when loading you are using a lower case a. Linux is case sensitive so you need to change one or the other to make it work.