Closed sultanassi95 closed 6 years ago
https://github.com/facg3/JokeGenerator/blob/70cbf8c05e5a0a568aba3f6189d471ad7e000443/public/index.js#L18
in this function, between lines 22, 27 , you should invoke a callback function instead of handling response inside of it, always try to separate your functions.
Thanks Sultan.. I'll take a second look on that.
https://github.com/facg3/JokeGenerator/blob/70cbf8c05e5a0a568aba3f6189d471ad7e000443/public/index.js#L18
in this function, between lines 22, 27 , you should invoke a callback function instead of handling response inside of it, always try to separate your functions.