Completed. I created a function called formatGoalTime in the gameselect.html javascript section. The function formatGoalTime takes the timeRemaining as a parameter and uses Neil's logic from scorekeeper.js to derive the minutes, seconds, an 10th seconds. The function formatGoalTime returns a string that looks like 04:57:2.
Completed. I created a function called formatGoalTime in the gameselect.html javascript section. The function formatGoalTime takes the timeRemaining as a parameter and uses Neil's logic from scorekeeper.js to derive the minutes, seconds, an 10th seconds. The function formatGoalTime returns a string that looks like 04:57:2.