Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/odilson-dev/library

Project Library from TOP.
https://github.com/odilson-dev/library

book html-css-javascript library

Last synced: 2 days ago
JSON representation

Project Library from TOP.

Awesome Lists containing this project

README

        

# Library Project from Odin

![Screen capture](images/Screenshot%202024-02-22%20at%2016-16-42%20Library.png)

## Introduction

This project extends the 'Book' example from the previous lesson to create a small Library app using HTML, CSS, and JavaScript.

## Technologies Used

- HTML
- JavaScript
- CSS

## Learnings

- Setting up a project with HTML, CSS, and JavaScript files.
- Storing book objects in an array.
- Writing functions to manipulate the array of books.
- Displaying books on the page using DOM manipulation.
- Implementing user input forms to add new books.
- Handling form submissions and preventing default behavior.
- Associating DOM elements with book objects using data attributes.
- Adding functionality to remove books from the library.
- Implementing toggling of read status for each book.

## Project Structure

The project consists of the following files:

- `index.html`: HTML file for the main structure of the web app.
- `style.css`: CSS file for styling the web app.
- `script.js`: JavaScript file containing the logic for the Library app.

## Usage

To use the Library app:

1. Open `index.html` in a web browser.
2. Add new books using the "NEW BOOK" button and fill in the required details.
3. Click on individual books to toggle their read status.
4. Click on the "Remove" button to remove a book from the library.

## Future Improvements

- Implementing storage functionality to persist data.
- Enhancing the user interface with additional styling and features.

## Links

Here is the: [Course link](https://www.theodinproject.com/lessons/javascript-library)
Visit live site: [Library](https://odilson-dev.github.io/library/)