Javascript not loading in browser(Miui10 Global8.9.6 beta_Redmi note4)
Apparently,the Redminote4 file manager doesn't recognise the link between separate html/css/javascript files(even though it get's perfectly recognised in a desktop environment).

The only option left is to embed all your html/css/javascript code into one large html file(not a good practise!) and open this file directly from the file manager.