PhotosAPI/pages/home/script.js
2022-12-20 15:34:47 +01:00

6 lines
191 B
JavaScript

// JavaScript is used for toggling loading state
var form = document.querySelector('form');
form.onsubmit = function (event) {
event.preventDefault();
form.classList.add('signed');
};