Inspiration
We all go through moments where we need a little boost to keep going. I wanted to build something quick, lightweight, and meaningful that could give people a small spark of motivation whenever they needed it.
What it does
"Quotes for Motivation" is a simple web app that displays a random motivational quote each time you load the page or press a button. The goal is to inspire users and help them start their day with a positive mindset.
How I built it
I used basic web technologies — HTML, CSS, and JavaScript — to build the front end. I fetched quotes from a public quote API (Type.fit or ZenQuotes) using fetch() in JavaScript. The UI is clean and responsive.
Challenges I ran into
The main challenge was finding a reliable and free API that served quality motivational quotes without requiring an API key. I also learned how to handle asynchronous API calls and display loading states.
What I learned
- Working with public APIs
- Writing cleaner JavaScript code
- Designing a simple, responsive layout
- Building and deploying a basic web app
What's next
- Add categories (e.g. success, perseverance, happiness)
- Let users save their favorite quotes
- Share quotes on social media
Built With
- css
- html
- javascript
- quoteapi