A beautiful, interactive way to showcase your personal book collection with a password-protected interface!
- π Password Protection: Keep your collection private
- π Book Details: Display comprehensive information about each book
- π Beautiful UI: Elegant design with book cover backgrounds
- π± Responsive: Works on desktop, tablet, and mobile devices
- β¬ οΈ Easy Navigation: Simple controls to browse through your collection
- A modern web browser (Chrome, Firefox, Safari, Edge)
- Basic understanding of HTML, CSS, and JavaScript (to customize)
- Clone this repository to your computer:
git clone https://github.com/422442/w-book.git
- Open the folder containing the files
- Customize your collection by:
- Adding your book cover images to the
imagesfolder - Updating the
booksDataarray inscript.jswith your books
- Adding your book cover images to the
- Simply open
index.htmlin your web browser - Enter the password when prompted (default:
Books@123) - Enjoy browsing your book collection!
index.html- The main HTML structurestyle.css- All styling and animationsscript.js- JavaScript for functionality and book dataimages/- Directory containing book cover images
- Add your book cover image to the
imagesfolder - Open
script.jsand locate thebooksDataarray - Add a new book entry following this format:
{
title: "Your Book Title",
author: "Author Name",
description: "Book description goes here...",
coverImage: "images/yourimage.jpg",
rating: "4.5",
dateRead: "January 1, 2023",
goodreadsLink: "https://www.goodreads.com/book/show/your-book-link"
}- Open
script.js - Find the line:
const correctPassword = "Books@123"; - Change
"Books@123"to your desired password
- Use the Previous/Next buttons to move between books
- On mobile, you can also swipe up/down to navigate
- On desktop, use the left/right arrow keys
- Change background images
- Modify color schemes in CSS
- Add new fields to your book entries
- Create book categories or filters
This is a front-end only application - your book data is stored in the JavaScript file. If you need to preserve your collection across different devices, you'll need to copy your script.js file.
Enjoy your personal digital bookshelf! πβ¨