format=jsonpparameter. the point i was making is that "So what the call back function does is, it prevents the statement from executing until all the data is fetched from the API call." is not quite a correct explanation of the callback parameter
hello guys, am working on the pomodoro and this is how am thinking of tackling the project
1.have two global variable, break time and session time in secs
create functions that increases and decreases length of session and break and updates the new time when clicked
functions that starts session time and break time count by getting the time updated by the functions above and start a countdown on it
use a function to toggle between the 2 modes using a boolean to indicate when session is running and if done start break session
5.a function to pause the event using clearInterval.
That's what I can think of , thanks for your time