Coder Social home page Coder Social logo

benjamin-gates / project-local-library Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.57 MB

This application displays all the relevant stats on a local library. The stats include the count of books in genres, stats on authors, and stats on specific books.

HTML 4.01% JavaScript 95.99%

project-local-library's Introduction

Project - Local Library

This application displays all the relevant stats on a local library. The stats include the count of books in genres, stats on authors, and stats on specific books.

Context for Project

The purpose of this project was for me to demonstrate my understanding of the different array methods of JavaScript, such as find, filter, reduce, sort, map, some, and every. I only wrote the JavaScript for this project, and nothing else.

Technologies Used

  • JavaScript

Features

Below I will discuss the functionality I added with the JavaScript to each page in this project:

  1. Overall Stats
  2. Stats by Book
  3. Stats by Author

Overall Stats

Overall Stats Screenshot In this page, I mainly used a filter array methods to find then count the array of all books that match a certain criteria, such as being borrowed or a certain genre. Back to Features

Stats by Book

Stats by Book Screenshot Here, I used a find array method to find the book object that matches a selected title, then used filter to find all the borrowers that borrowed the book Back to Features

Stats by Author

Stats by Author Screenshot The JavaScript for this page uses the sort array method to sort authors by last name. The JavaScript also uses filter to find all borrows from the author and a find to find the account currently borrowing the book. Back to Features

Learnings from this Project

This project solidified my understanding of JavaScript and how to access complicated data that includes objects within objects within objects.

project-local-library's People

Contributors

benjamin-gates avatar

Watchers

 avatar

project-local-library's Issues

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.