Feat. Javascript listener set up
This commit is contained in:
parent
b24f055aa1
commit
a92bdbc921
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@
|
||||||
<script>
|
<script>
|
||||||
document.getElementById('year').textContent = new Date().getFullYear().toString()
|
document.getElementById('year').textContent = new Date().getFullYear().toString()
|
||||||
</script>
|
</script>
|
||||||
|
<script>
|
||||||
|
const formEl = document.getElementById("reset");
|
||||||
|
formEl.addEventListener('submit', (listener) => formHandler(listener));
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in a new issue