1521737438

This commit is contained in:
Arti Zirk 2018-03-22 18:50:38 +02:00
parent 27a984c7ed
commit ad5ec31c71

4
app.js
View File

@ -3,8 +3,10 @@
console.log("App");
let addForm = document.getElementById("addFormElement");
addForm.addEventListener("submit", addBook);
function addBook(){
function addBook(event){
event.preventDefault();
console.log("Add Book");
}