I found a guide online (https://code.msdn.microsoft.com/office/Client-side-rendering-code-0a786cdd#content) and have read multiple tutorials, however i cannot solve the problem.
The code from the tutorial seems flawless, also i tried copy pasting other codes from different tutorials. In the end, whenever i link the JS with my webpart list, the list does not change its look at all and the traffic lights won't work.
Its not that i get an error, its just that the list acts like there is no JS at all? I tried saving the JS on different folders on the sharepoint, however it has not worked for me. can anyone help or suggest what i am doing wrong?