Open shiryz opened 5 years ago
I know :sob: , it was working untill the user enters a wrong value -> the url "breaks" and refuse to work again until we refresh the page so i added an if statement in my converthandler that will excute the function only if the value of the input is valid :confused: which , which overcome the .catch in fetch :confused:
https://github.com/lotus-1/correncyNN/blob/master/public/main.js#L24
While you are trying to handle the error and it does get to that, the new text is not appended to the html