I am transferring a project from Codepen to my computer. When I load it from my computer I get an error here:
var get=document.getElementById('workTime'); //get the value of the Wokrktime
var endPoint=((2*(parseInt(get.value)))/60)+1.5;
I get Uncaught TypeError: Cannot read property 'value' of null. The error is for the last line. Could anyone point me to the right direction?