-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
West Midlands | Alireza Seifi Shalamzari | Module-Data-Flows | Book Library #149
base: main
Are you sure you want to change the base?
Conversation
…to addBook() Since in script file we have a function called submit() and a variable called the same, it can cause bugs in future
If the function calles the render() it will cause a bug
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you try loading the page in a browser?
I don't think the script will run properly because it still has syntax errors that still need to be fixed.
Please Check now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All bugs described in readme.md
have been fixed. Feel free to mark this as completed.
Note: There are also some errors in index.html
.
alert(`You've deleted the title: ${book.title}`); | ||
myLibrary.splice(index, 1); | ||
render(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At the moment when the alert message is displayed, has the book mentioned in the message been deleted yet?
How would you rearrange these statements to make the message truthful?
Self checklist
Changelist
This PR should fix the Last PR for Book Library.
Questions
Ask any questions you have for your reviewer.