Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codewithalamin/advice-generator-app
Generate random quotes of advice with the Advice Slip API.
https://github.com/codewithalamin/advice-generator-app
advice-api advice-generator advice-generator-app adviceslip-api codepapa360 css front-end-development frontend frontend-mentor html javascript javascript-vanilla quote-generator sass
Last synced: 4 days ago
JSON representation
Generate random quotes of advice with the Advice Slip API.
- Host: GitHub
- URL: https://github.com/codewithalamin/advice-generator-app
- Owner: CodeWithAlamin
- License: mit
- Created: 2023-06-30T12:31:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-30T14:31:14.000Z (over 1 year ago)
- Last Synced: 2024-10-30T10:38:24.537Z (16 days ago)
- Topics: advice-api, advice-generator, advice-generator-app, adviceslip-api, codepapa360, css, front-end-development, frontend, frontend-mentor, html, javascript, javascript-vanilla, quote-generator, sass
- Language: HTML
- Homepage: https://advice-generator-app-codepapa360.netlify.app/
- Size: 349 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Advice generator app
Challenge from [Frontend Mentor](https://www.frontendmentor.io/challenges)
This project uses the Advice Slip API to generate random quotes of advice. The project is written in `JavaScript` and uses the `fetch()` API to make requests to the Advice Slip API. The app features a smooth transition effect when displaying the advice, creating an engaging user experience.![Screenshot](./screenshots/Advice-generator-app-screenshot-CodeWithAlamin.png)
## The challenge
Users should be able to:
- View the optimal layout for the app depending on their device's screen size
- See hover states for all interactive elements on the page
- Generate a new piece of advice by clicking the dice icon## Built with
- Semantic HTML5 markup
- Mobile-first workflow
- CSS custom properties
- JavaScript
- NPM
- [Webpack - a module bundler](https://webpack.js.org/)
- [Advice Slip API](https://api.adviceslip.com/)## What I Learned
In the process of developing the Advice Generator App, I expanded my skills and knowledge in various aspects of web development. Working with the Advice Slip API allowed me to gain hands-on experience with integrating third-party APIs into my projects. I deepened my understanding of `asynchronous` JavaScript and utilized the `fetch()` API to efficiently retrieve data from the API. Overall, this project provided an opportunity to sharpen my `JavaScript` skills, API integration capabilities, and UI design techniques, further advancing my expertise in web development.
## Installation
- Clone this repo:
```sh
git clone https://github.com/CodeWithAlamin/Advice-generator-app.git
```- Install dependencies:
```sh
npm install
```- Build command:
```sh
npm run build
```- Live server:
```sh
npm start
```## Author
👤 Alamin
- Twitter - [@CodeWithAlamin](https://www.twitter.com/CodeWithAlamin)
- LinkedIn - [@CodeWithAlamin](https://www.linkedin.com/in/CodeWithAlamin)
- Frontend Mentor - [@CodeWithAlamin](https://www.frontendmentor.io/profile/CodeWithAlamin)
- Github: [@CodeWithAlamin](https://github.com/CodeWithAlamin)Feel free to contact me with any questions or feedback!
## Show your support
Give a ⭐️ if you liked this project!
## Acknowledgments
Special thanks to Frontend Mentor for providing such an amazing platform to practice and improve my frontend skills.
## License
This project is licensed under the [MIT](https://github.com/CodeWithAlamin/Advice-generator-app/blob/main/LICENSE.md) license, which means you can use, modify, and distribute the code as you wish. If you have any questions or feedback, feel free to reach out. Thank you for considering my code!