Web application that uses HTML, JavaScript and CSS.
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.
To get started with the Online Books application, follow these steps:
-
Open the terminal (Ctrl+Alt+T)
-
Clone the repository to your local machine by using (git@github.com:blackcrystal0000/Online_Books.git)
-
Navigate to the project directory using cd(name of the cloned repo).
-
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).
-
The URL of the live server, (http://127.0.0.1:5502/index.html)
-
Enter a search query in the search input field.
-
Click the "Search" button or press Enter to perform the search.
-
The search results will be displayed on the page together with the book details.
-
Click on the heart icon next to a book to like it.
-
The heart icon will toggle between filled and empty to indicate the like status.
-
HTML
-
CSS
-
JavaScript
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}.
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.
This project was done by Crystal Kariuki.