This project is a web-based application that dynamically generates inspirational quotes from famous philanthropists. Each time a user clicks a button, a new quote is displayed. This project is designed with a focus on philanthropy and humanist philosophy, offering an uplifting user experience.
- Random Quote Generation: On each button click, a random quote from a predefined list is displayed.
- Responsive Design: The application is fully responsive, ensuring a seamless experience across various devices, including desktops, tablets, and smartphones.
- Elegant UI: The user interface is designed with a minimalist and elegant approach, featuring a background image that symbolizes philanthropy and humanist philosophy.
- HTML: Structured the content and layout of the web application.
- CSS: Styled the application, including a responsive design that adapts to different screen sizes.
- JavaScript:
- Employed to dynamically generate and display quotes.
- Array methods and object manipulation were used to handle the quotes data.
- Array Methods: Utilized JavaScript array methods like
Math.random()
to randomly select quotes from an array. - Objects: Used JavaScript objects to store and manage quote data, including the text and author.
- DOM Manipulation: Applied to dynamically update the HTML content with new quotes.
index.html
: Main HTML file for the application.style.css
: CSS file containing styles for the application.script.js
: JavaScript file handling the logic for quote generation.image.png
: Background image used in the application (replaceimage.png
with the actual filename).
- Clone the repository to your local machine.
- Open the
index.html
file in a web browser to view the application.
- Integration with an external API to fetch a wider range of quotes.
- Addition of user interaction features, such as rating quotes or submitting new ones.
This project is a demonstration of modern web development practices, including responsive web design and dynamic content generation using JavaScript.