1521738724

This commit is contained in:
Arti Zirk 2018-03-22 19:12:04 +02:00
parent 45d3236907
commit b5a90cae38

4
app.js
View File

@ -15,10 +15,10 @@ function genBookId() {
function addBook(event){
event.preventDefault();
console.log("Add Book", event.target.bookTitle.value);
let bookId = genBookId();
let row = `
<tr>
<td>1</td>
<td>${bookId}</td>
<td>${event.target.bookTitle.value}</td>
<td>${event.target.bookGenre.value}</td>
<td>${event.target.bookDesc.value}</td>