- 📖 About the Project
- 💻 Getting Started
- 👥 Authors
- 🔭 Future Features
- 🤝 Contributing
- ⭐️ Show your support
- 🙏 Acknowledgements
- ❓ FAQ (OPTIONAL)
- 📝 License
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.
Awesome Books - HTML/CSS & JavaScript Awesome Books project
- 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.
- A Navigation bar section added .
- A footer section added
- The Navigation bar contains Three content sections:
- Books list.
- Add book form.
- Contact info.
- CSS styles Added to the application to make it match this wireframe.
- When a user clicks on any of the links, the main area changes to display only one of the three content sections which clicked.
- To change the contents of the page, plain JavaScript and CSS used.
To get a local copy up and running, follow these steps.
Clone this repository to your desired folder:
cd my-folder git clone git@github.com:myaccount/my-project.git
In order to run this project you need:
- gitHub account;
- git installed on your OS.
https://github.com/microverseinc/linters-config/tree/master/html-css-js
- Installations required to run this project:
- Run the following command:
npm install --save-dev hint@7.x
- 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
- Run
npm install --save-dev eslint@7.x eslint-config-airbnb-base@14.x eslint-plugin-import@2.x babel-eslint@10.x
You can use this project by cloning it to your folder and changing index.html and styles.css files.
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 ."
You can redeploy this project by adding new lines of code to source files.
- GitHub: @bena
- GitHub:[jubaer919] (https://github.com/jubaer919)
Awesome books: a complete website with navigationthis will be added.
Contributions, issues, and feature requests are welcome!
Give me ⭐️ If you like this project!
- I would like to thank Microverse program for providing me this great chance.
This project is MIT licensed.