score:0

You need this line:

<link rel="stylesheet" href="./style.css" type="text/css" />

The reason for the "./" bit is explained below:

Single dot is for current directory.The double dot is for parent directory:

./ = current
../ = parent

Hope that helps :)

score:1

Somehow the path to the css file became lost/confused with the json file. By adding a ./ in front of the reference to the css file solved the problem. I can alter the css, refresh the browser and see the changes.

<link rel="stylesheet" href="./style.css" type="text/css" />

Related Query

More Query from same tag