Giter Club home page Giter Club logo

fmanimashaun / awesome-book Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 370 KB

In this project, we built a basic website that allows users to add/remove books from a list. This was achieved by using JavaScript objects and arrays while using javascript DOM and basic events to dynamically modify the page.

Home Page: https://fmanimashaun.github.io/Awesome-book/

License: MIT License

CSS 38.34% HTML 16.14% JavaScript 45.52%
css html javascript object

awesome-book's Introduction

Awesome books: plain JavaScript with objects

Overview

In this project, we built a basic website that allows users to add/remove books from a list. This was achieved by using JavaScript objects and arrays while using javascript DOM and basic events to dynamically modify the page.

Project Tasks List

  • Implement only a basic UI with plain HTML
  • Create a collection that keeps a list of books (hint: you can use an array of objects for that).
  • Create a function to add a new book to the collection, with title and author.
  • Create a function to remove a book from the collection (hint: you can use the array filter() method).
  • Display all books saved in the collection at the top part of the page.
  • Make sure that when a user clicks the "Add" button:
    • A new book is added to the collection.
    • The new book is displayed on the page.
  • Make sure that when a user clicks the "Remove" button:
    • The correct book is removed from the collection.
    • The correct book disappears from the page.
  • Make sure that data is preserved in the browser's memory by using localStorage.
  • Refactor the entire code from javascript function to js class methods
  • Use JavaScript classes instead of objects and arrays
  • replace add and remove function with class methods to add and remove books.
  • Add CSS styles to the application to make it match this wireframe:
  • Modify the Awesome books application to have (See)[#Screenshots]:
    • A Navigation bar.
    • Three content sections:
    • Books list.
    • Add book form.
    • Contact info.
  • Create a tappy component to change page view without reloading a new file.

DEMO LINK

Live Demo Link

Screenshots

Screenhot

Built With

Getting Started

  • [Optional] Install git bash to your machine to enable you to clone this repo.
  • install Visual Studio to be able to host a local live version.
  • Install a browser to view the local live version.

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

Prerequisites

  • Internet connection
  • A github account

Setup

  • Open your GitHub account the repository's link

Install

  • copy the repo's link and clone it by writing git clone https://github.com/fmanimashaun/Awesome-book.git on your git bash terminal.
  • npm install to install the dependencies

Run tests

  • You can check for errors by running linter tests found in the github flows.

Deployment

  • Click on 'go live' on your visual studio to view the project live on your local machine.

Authors

๐Ÿ‘ค Engr. Animashaun Fisayo

Contributors

๐Ÿ‘ค ABAH JAMES

๐Ÿ‘ค Oscar Deus

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a โญ๏ธ if you like this project!

๐Ÿ“ License

This project is MIT licensed.

awesome-book's People

Contributors

fmanimashaun avatar engruugbejimmy avatar oscah01 avatar

Watchers

 avatar

awesome-book'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.