-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
27 lines (22 loc) · 812 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Render of the books in the DOM
import BooksInDom from "./modules/renderBooksFromDom.js";
// Add Books to Ui
import addBooksToUi from "./modules/addBooksToUi.js";
// Getting & setting books from & to local storage
import BooksAtLocalStorage from "./modules/booksAtLs.js";
// Books removal funtion from ui & localstorage
import removeBook from "./modules/removeBook.js";
// One page navigation
import onePageNavigation from "./modules/onePageNavigation.js";
// //Get Date & time
import getDate from "./modules/getDate.js";
// Invoking books representaion method
document.addEventListener("DOMContentLoaded", BooksInDom.displayBooks);
// Add books in the Ui
addBooksToUi();
// Remove a book from the list
removeBook();
//Invoke one page navigation funciton
onePageNavigation();
//Get date & time
getDate();