pages: home, login, signup, signin, add are almost done

This commit is contained in:
2023-11-16 00:46:49 +01:00
parent e8fe008117
commit ea34fa8eb4
8 changed files with 88 additions and 44 deletions

View File

@ -18,12 +18,13 @@
</form>
<script>
const btn = document.querySelector('.btn-send')
console.log(btn)
btn.addEventListener('click', (e) => {
e.preventDefault()
send()
})
(() => {
const btn = document.querySelector('.btn-send')
btn.addEventListener('click', (e) => {
e.preventDefault()
send()
})
})()
function send() {
let form = new FormData(document.querySelector("form"));