We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad1b8ff commit e9dbd8dCopy full SHA for e9dbd8d
debugging/book-library/script.js
@@ -37,7 +37,7 @@ function submit() {
37
alert("Please fill all fields!");
38
return false;
39
} else {
40
- let book = new Book(title.value, title.value, pages.value, check.checked);
+ let book = new Book(title.value, author.value, pages.value, check.checked);
41
myLibrary.push(book);
42
render();
43
}
0 commit comments