1521737775
This commit is contained in:
parent
3fee3be1f7
commit
38fd392481
3
app.js
3
app.js
@ -5,9 +5,12 @@ console.log("App");
|
||||
let addForm = document.getElementById("addFormElement");
|
||||
addForm.addEventListener("submit", addBook);
|
||||
|
||||
let bookTable = document.getElementById("bookTableBody");
|
||||
|
||||
function addBook(event){
|
||||
event.preventDefault();
|
||||
console.log("Add Book", event.target.bookTitle.value);
|
||||
|
||||
}
|
||||
|
||||
function deleteBook() {
|
||||
|
Loading…
Reference in New Issue
Block a user