aryan/formfunction Function Calls #7
Loading…
Reference in a new issue
No description provided.
Delete branch "aryan/formfunction"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
basic template for how functions will be called through the query box.
Looks good, I'd just recommend avoiding defining things outside of functions, unless it's necessary to run on start
@ -36,2 +36,4 @@
return js
}
const form = document.getElementById('chat-form')
Does this need to be a global variable?
@ -38,0 +38,4 @@
const form = document.getElementById('chat-form')
form.addEventListener('submit', FormSubmit);
Probably put the handle after the function definition.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.