I copied your code into a pen. Everything between <body> in your html, your css, and your js.
The only error I got was 429 (Too Many Requests) while using the cors-anywhere url.
I think the issue is (or starts) in your html. In the head of your html you call bootstrap 8 separate times and multiple versions (calling both bootstrap 3 and bootstrap 4 will always conflict). You also call 2 different versions of jQuery. I also see calls to .unbind() which is deprecated in jQuery 3.
I think it will work better for you if you remove some of those extra script.
I had this problem once, and the easy solution is to not listen for the onsubmit event handler but to remove the form tags and add an event handler to the submit button itself.
(I don’t know what your event handler preference is, but here’s a DOM Level 0 event handler for simplicity)
This suggestion is unsemantic and breaks the expected functionality. You don’t want pressing Enter to do nothing, you want it to do the same as clicking the submit button.
It seems like this is a problem with using onsubmit as an attribute in the HTML — it treats the assigned value as if it’s JavaScript in an anonymous function() {} wrapper, but you can’t pass in any arguments to that function (though there might be a way that I’m not aware of).
Instead, bind the event within your .js file or a <script> tag. @SkyC’s tutorial above is an excellent example.
Edit: Turns out that preventDefault can be simulated with the HTML inline onsubmit attribute by appending return false; to the value of that attribute. But it’s still best practice to separate content from behavior.