Adding exams folder + adding 'book_finder' in it as first folder commit

This commit is contained in:
gauvainboiche
2025-08-04 15:30:42 +02:00
parent c15ff7a816
commit b857756967
5 changed files with 138 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
// Click handler for search button
const captureSearchValue = () => {
};
// Filter books based on search input
const filterBooks = () => {
};
// Empty the book list container, iterate over list of filtered books, return list of books formatted as HTML using the function in `helper.js`
const structureBooksAsHtml = () => {
};
// Handler triggered when a user clickers the "Search" button. Chains previously defined functions together to filter books based on the search value, formats the books as HTML and renders them to the DOM
const searchBtnClickHandler = () => {
}
// Grab search button from the DOM
// Attach an event listener to the search button
searchBtn.addEventListener("click", () => { searchBtnClickHandler(books) });