An application that shows quotes by different authors.Users can add quotes of their own,by filling in the form with the require input fields.They can also upvote or down vote them,where the quote with the highest upvote gets highlighted.Users can also delete quotes by clicking the delete button.
The website has the following functionalities:
- The user clicks details button,the quote details are displayed.The details include the publisher of the quote,the day the posted and how long ago it was.The upvote,down vote and delete button are displayed too.
- The User Clicks Delete, the quote is removed from view.
- The user can append quote when they click the add quote button.
- The user can view the date when the quote was posted and how long ago it was.
- The user can up vote or down vote a quote.
- The quote with the highest number of upvotes is highlighted.
Clone or download and unzip the repository from github, https://github.com/martin-moringa/angular1.git If you have git Use this command git clone * to clone the project. Run ng serve from your terminal Live Demo
To view the page click on the link below
https://martin-moringa.github.io/angular1/
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
- Angular CLI
- Html
- CSS
- Bootstrap
The upvote logic does not work as expected.It does not highlight the most upvoted quote.
For any comments,suggestions,feedback or inquiries, contact me via email: martin.mylles@student.moringashool.com
Make contributions to the code.
This project is licensed under the MIT Open Source license Copyright © 2021. Martin Mylles