Skip to content

blackcrystal0000/Online_Books

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online Books

Web application that uses HTML, JavaScript and CSS.

Description

This is a simple web application that allows you to explore a collection of books online. You can search for books by title and view the details of each book. Additionally, you can like a book by clicking on the heart icon.

Getting Started

To get started with the Online Books application, follow these steps:

  1. Open the terminal (Ctrl+Alt+T)

  2. Clone the repository to your local machine by using (git@github.com:blackcrystal0000/Online_Books.git)

  3. Navigate to the project directory using cd(name of the cloned repo).

  4. Open the index.html file in your preferred web browser or you can paste this URL in the browser, (https://github.com/blackcrystal0000/Online_Books).

  5. The URL of the live server, (http://127.0.0.1:5502/index.html)

Usage

Searching for books

  1. Enter a search query in the search input field.

  2. Click the "Search" button or press Enter to perform the search.

  3. The search results will be displayed on the page together with the book details.

Liking a book

  1. Click on the heart icon next to a book to like it.

  2. The heart icon will toggle between filled and empty to indicate the like status.

Technologies Used

  • HTML

  • CSS

  • JavaScript

API

This application uses the Open Library API to fetch book data. The API endpoint used for searching books is https://openlibrary.org/search.json?title={searchText}.

License

MIT License

Copyright (c) 2023 blackcrystal0000

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

This project is licensed under the MIT License.

Author

This project was done by Crystal Kariuki.

About

Web application that uses HTML, JavaScript and CSS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published