generated from CodeYourFuture/Module-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 162
London | ITP-May-2025 | Seddiq Azam | Module-Data-Flows | Book Library #263
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
Closed
Closed
Changes from 25 commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
a3bdf48
Fix input types in book library form and add launch configuration for…
sedazam ae05097
Fix input types for title and author fields in book library form
sedazam abfc0a3
Fix syntax error in render function loop
sedazam 1573031
Fix read status logic in render function
sedazam 9440f65
Fix reference to myLibrary in submit function
sedazam 51aa207
Fix delete button functionality in render function
sedazam ed8d683
Fix book constructor parameters in submit function
sedazam 2d6fdc2
Fix author parameter in book constructor in submit function
sedazam 3b0639a
Fix validation logic in submit function to check author field
sedazam 75eea9c
Add buttons for viewing read books and all books; fix author validati…
sedazam a1e10b5
Add viewReadBooks function to filter and display read books in the li…
sedazam 5a823b1
Refactor button layout for better structure and styling in the librar…
sedazam e4ab05e
Refactor button layout for improved accessibility and styling in the …
sedazam 7f237b1
Update render function to simplify cell insertion for read books and …
sedazam 2ce428b
Fix submit function to ensure viewReadBooks is called only when the b…
sedazam cb72564
Clear input fields after submitting a new book
sedazam 9dd36cb
Refactor button group for consistent styling and alignment in the lib…
sedazam 4858f47
Refactor viewReadBooks function to utilize clearTable for improved re…
sedazam a4d5f61
Refactor submit and render functions for improved clarity and efficiency
sedazam fa3eb54
Refactor submit function to improve input validation and clarity
sedazam 8b38508
Refactor button creation in render function for consistency and clarity
sedazam 2747277
Fix typo in book title in populateStorage function
sedazam 9ec60d1
Fix pages property assignment in Book constructor to ensure it is alw…
sedazam 4996041
Enhance input validation in submit function to ensure pages value is …
sedazam dd0296b
Delete .vscode/launch.json
sedazam dee27d1
Refactor variable names for input elements in script.js for clarity a…
sedazam f9af2c5
Fix reference to read checkbox in Book instantiation in submit function
sedazam 04087c0
Fix variable references for form input clearing in submit function
sedazam e63d74f
Fix pages argument type in Book instantiation in populateStorage func…
sedazam 8fe3b51
Add confirmation dialog before deleting a book from the library
sedazam b2a3c2c
Refactor render function to use textContent for setting cell values a…
sedazam ee0bf36
Use const instead of let for table variable in clearTable function
sedazam db33ada
Refactor clearTable function to improve row deletion logic using tbody
sedazam 8e4d345
Merge branch 'book-library' of https://github.com/sedazam/Module-Data…
sedazam 446915c
Fix clearTable function to use lastElementChild and update delete con…
sedazam 4687648
Refactor submit function to move clearForm definition inside and impr…
sedazam 62b75cf
Refactor clearForm function to improve structure and readability
sedazam 9fbf9f9
Fix indentation in clearForm function for consistency
sedazam a3af05a
Add title to HTML document for better context
sedazam f5f4992
Fix formatting of meta tags in HTML for consistency
sedazam 0232a7c
Remove empty table row in book display for cleaner presentation
sedazam 340a5b9
Improve checkbox label for clarity in book submission form
sedazam 5ba4b53
Replace submit input with button for better user interaction in book …
sedazam 10fe990
Add header for actions column in book display table
sedazam 80d8249
Fix row insertion in render function to use tbody for correct table s…
sedazam 9e63739
Add buttons for toggling read status and deleting books in viewReadBo…
sedazam f3427a1
Enhance read status button functionality and improve delete confirmat…
sedazam 1db3d2a
Refactor book submission form for improved accessibility and user exp…
sedazam 7fcf6fc
Refactor HTML structure and enhance JavaScript functionality for impr…
sedazam 2c17c9a
Add title attribute to delete button for improved accessibility
sedazam b1bde3e
Add aria-label to delete button for improved accessibility
sedazam a5bb00a
Enhance accessibility of read status button by adding title and aria-…
sedazam 02416c5
Refactor deleteBook function to accept title and author parameters, a…
sedazam 0950066
Refactor HTML structure and JavaScript functions for improved readabi…
sedazam 7129071
Update initial book data in populateStorage function
sedazam 92c6565
Refactor clearForm function to use form.reset() for improved clarity …
sedazam 676a5e2
Add event listener to book form for submission handling
sedazam d310f39
Refactor book form structure for improved semantics and accessibility…
sedazam 37b98ed
Remove console log for add book button click to clean up code
sedazam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.