Giter Site home page Giter Site logo

lrebornsl / awesome-books Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 184 KB

A web page that brings you a list of books that you also can add or remove in their respective section. Build it with: HTML, CSS and JS.

Home Page: https://lrebornsl.github.io/awesome-books/

License: Other

HTML 0.99% CSS 0.91% JavaScript 98.10%

awesome-books's Introduction

Awesome Books

πŸ“— Table of Contents

πŸ“– [Awesome Books]

Awesome Books is a web page that allow you to Add, Display and Remove a book's data.

πŸ›  Built With

Tech Stack

Client

Key Features

  • Add new books with title and their respective author
  • Delete previous books created
  • JavaScript Classes and Methods Used
  • Data Stored in Local Storage
  • Dynamic Content Display

(back to top)

πŸš€ Live Demo

Add a link to your deployed project.

  • [Coming Soon]

(back to top)

πŸ’» Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

  • Visual Studio Code

Setup

Clone this repository to your desired folder:

Example commands:

  cd awesome-books
  git clone [email protected]:lRebornsl/awesome-books.git

(back to top)

πŸ‘₯ Authors

Mention all of the collaborators of this project.

πŸ‘€ lRebornsl

(back to top)

πŸ”­ Future Features

  • Create a better Web design
  • Improve UI

(back to top)

🀝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project please show us support by givintg it a star.

(back to top)

πŸ™ Acknowledgments

I would like to thank my colleagues at Microverse for their support during the project.

(back to top)

πŸ“ License

This project is MIT licensed.

(back to top)

awesome-books's People

Contributors

lrebornsl avatar

Stargazers

Manuel Alejandro SΓ‘nchez Sierra avatar Bryan Hurtado avatar

Watchers

 avatar

awesome-books's Issues

Module 2 - Week 2 - Day 2: Peer to Peer Code Review :speech_balloon: :ok_hand:

Hello @lRebornsl πŸ‘‹ πŸ‘‹

Great job my friend on the project so far! Your hard work and progress are clearly visible, particularly in the impressive use of JavaScript classes and local storage to manage the bookshelf data. This demonstrates a solid foundation to build upon. πŸ‘ πŸ’―

However, in order to meet all the project requirements, there are a few issues that need to be addressed. I have no doubt that you're more than capable of resolving them. πŸ’ͺ

clap-1-slow-sarcastic-applause-usagif

To highlight 🌟 🎯

  • Nice use of JS modules for splitting the code. πŸ₯‡
  • Good use of luxon to display the current time. ⌚
  • well-structured LocalStorage for managing stored books βœ”οΈ
  • Use GitHub Workflows. :octocat: .

Needed modifications ♻️

At book-collection.js πŸ‘€

  • It would be better if you use forEach instead of classic for to iterate over this.books. (Line 27)

Using forEach is often preferred over a normal for loop because it simplifies the syntax and can make the code more readable by eliminating the need for an index counter and explicit indexing.

your code πŸ’Ÿ

for (let i = 0; i < this.books.length; i += 1) {
 // iterate over this.books and display books
}

suggested code

this.books.forEach((book) => {
  // iterate over this.books and display books
});

At index.js πŸ‘€

  • You might want to consider making your index.js file the main entry point for your application. To do this, you could move the menus.EventListener and doDate functions to a new file in the modules directory and then import it in the index.js file. This will help make your index.js file more clear and more organized.

The index.js file is commonly used as the main module that imports and initializes other modules, libraries, and components. It can also define global configurations and set up the application environment.

Cheers, and Happy coding! πŸ‘ πŸ‘ πŸ‘. Keep up the great work! πŸ’ͺ πŸ‘¨β€πŸ’»

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.