mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2025-06-13 13:43:13 +00:00
Add styling to BasketItem
Move footer style to its own file Make the contact form a bit more intuitive General cleanup
This commit is contained in:
parent
764aaa48ea
commit
6f97ad9a4c
9 changed files with 146 additions and 84 deletions
|
@ -28,7 +28,17 @@
|
|||
}
|
||||
|
||||
function onSubmit() {
|
||||
nameValid = true;
|
||||
emailValid = true;
|
||||
messageValid = false;
|
||||
|
||||
formMessage = postContactEmail(name, email, message);
|
||||
|
||||
formMessage.catch(() => {
|
||||
validateName();
|
||||
validateEmail();
|
||||
validateMessage();
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue