The Dad Joke Generator is a fun web application that allows users to generate and enjoy classic dad jokes with a simple click. This project utilizes HTML5, CSS3, and JavaScript to create a user-friendly interface and fetches dad jokes from a REST API to provide a continuous stream of humor.
- Random Joke Generation: Click the "Get Joke" button to fetch and display a random dad joke from the REST API.
- Interactive UI: The clean and intuitive user interface makes it easy to generate jokes and enjoy a good laugh.
- Responsive Design: The application is designed to work seamlessly on various screen sizes, from desktop to mobile devices.
- Entertaining Content: Enjoy an endless supply of puns, wordplay, and light-hearted humor that's perfect for sharing with friends and family.
- HTML5: The structure of the web page is created using HTML5 to provide a solid foundation for the content.
- CSS3: CSS3 is used to style the application, making it visually appealing and user-friendly.
- JavaScript: JavaScript is employed to fetch data from the REST API and dynamically update the webpage with jokes.
- REST API: The application leverages a REST API to retrieve random dad jokes for the user to enjoy.
To run the Dad Joke Generator locally on your machine, follow these steps:
-
Clone the repository to your local machine using the following command:
git clone https://github.com/Mr-AbdulMalik/Joke-Generator-using-RESTAPI.git
-
Navigate to the project directory:
cd Joke-Generator-using-RESTAPI
-
Open the
index.html
file in your preferred web browser. -
Click the "TELL ME A JOKE" button to generate a random dad joke and have a laugh!
Contributions are welcome! If you'd like to contribute to the Dad Joke Generator project, follow these steps:
-
Fork the repository.
-
Create a new branch for your feature or bug fix:
git checkout -b feature/new-feature
-
Make your modifications and commit changes:
git commit -m "Add a new feature"
-
Push your changes to your fork:
git push origin feature/new-feature
-
Create a pull request on the main repository's
main
branch.
Please ensure your pull request description clearly explains the purpose and benefits of your contribution.
Enjoy the world of dad jokes with the Dad Joke Generator! Spread laughter and smiles with friends and family by sharing these timeless quips. If you encounter any issues or have suggestions for improvements, feel free to open an issue on the GitHub repository.
Happy Joking! 😄