jubaer919 / awsome-book

awsome-book: is a library project build with html, css and js. The project show all the book and author in the library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ“— Table of Contents

πŸ“– Awesome Books Microverse! Project

Awesome Books Microverse! project is a repository consisting of the following files:

  • HTML file
  • CSS file
  • JS files
  • Html,CSS and JS linters file

The repository also contains files for setting up linters and validators.

πŸ›  Built With

Tech Stack

Key Features

Features Added:

  • Create a collection that keeps a list of books
  • 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
  • Display all books saved in the collection in the top part of the page.
  • when a user clicks the "Add" button:
    • A new book is added to the collection.
    • The new book is displayed in the page.
  • when a user clicks the "Remove" button:
    • The correct book is removed from the collection.
    • The correct book dissapears from the page.
  • Data is preserved in the browser's memory by using localStorage.
  • JavaScript classes used instead of objects and arrays.
  • Class methods created to add and remove books.
  • CSS styles Added to the application to make it match this wireframe.

(back to top)

πŸš€ Live Demo

(back to top)

πŸ’» Getting Started

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

Setup

Clone this repository to your desired folder:

cd my-folder git clone git@github.com:myaccount/my-project.git

Prerequisites

In order to run this project you need:

  • gitHub account;
  • git installed on your OS.

Install

https://github.com/microverseinc/linters-config/tree/master/html-css-js

  • Installations required to run this project:

Webhint installation.

  • Run the following command:

npm install --save-dev hint@7.x

Stylelint installation.

  • Run the following command:

npm install --save-dev stylelint@13.x stylelint-scss@3.x stylelint-config-standard@21.x stylelint-csstree-validator@1.x

ESLint

  • Run

npm install --save-dev eslint@7.x eslint-config-airbnb-base@14.x eslint-plugin-import@2.x babel-eslint@10.x

Usage

You can use this project by cloning it to your folder and changing index.html and styles.css files.

Run tests

To run tests, run the following commands:

To track linter errors locally follow these steps:

Download all the dependencies run:

npm install

Track HTML linter errors run:

npx hint .

Track CSS linter errors run:

npx stylelint "**/*.{css,scss}"

Track JavaScript linter errors run:

npx eslint ."

Deployment

You can redeploy this project by adding new lines of code to source files.

(back to top)

πŸ‘₯ Authors

πŸ‘€ Habtamu Alemayehu

(back to top)

πŸ”­ Future Features

Awesome books: a complete website with navigationthis will be added.

(back to top)

🀝 Contributing

Contributions, issues, and feature requests are welcome!

(back to top)

⭐️ Show your support

Give me ⭐️ If you like this project!

(back to top)

πŸ™ Acknowledgments

  • I would like to thank Microverse program for providing me this great chance.

(back to top)

(back to top)

πŸ“ License

This project is MIT licensed.

(back to top)

About

awsome-book: is a library project build with html, css and js. The project show all the book and author in the library.

License:MIT License


Languages

Language:JavaScript 57.2%Language:HTML 24.8%Language:CSS 18.0%