This repository contains a simple web application that generates random jokes fetched from the JokeAPI. Users can click on a button to fetch a joke and display it on the webpage.
- Fetches random jokes from the JokeAPI.
- Displays the category and content of the fetched joke.
- Allows users to generate a new joke by clicking a button.
- Utilizes HTML, CSS, and JavaScript for functionality.
- Provides visual effects for category and joke display.
- HTML: Markup language for structuring the web page.
- CSS: Stylesheet language for enhancing the presentation of the web page.
- JavaScript: Programming language for implementing dynamic behavior.
- JokeAPI: API for fetching random jokes.
- Clone the repository to your local machine.
- Open the
index.htmlfile in your web browser. - Click the "Generate" button to fetch and display a random joke.
- The category and content of the joke will be displayed on the webpage.
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create your feature branch:
git checkout -b feature/NewFeature. - Commit your changes:
git commit -am 'Add a new feature'. - Push to the branch:
git push origin feature/NewFeature. - Submit a pull request detailing your changes.
This project is licensed under the MIT License, which means you are free to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the software.
- This project utilizes the JokeAPI for fetching random jokes.
- Created for learning and demonstration purposes.