# RandomJoke
RandomJoke is a web-based application that fetches and displays a random joke every time you click a button. It pulls the joke from the [Official Joke API](https://official-joke-api.appspot.com/random_joke).
## Features
- Fetch a random joke by clicking a button.
- Display both the joke setup and the punchline.
- Simple and easy-to-use interface.
## API
This application uses the following API to get jokes:
- **URL**: [https://official-joke-api.appspot.com/random_joke](https://official-joke-api.appspot.com/random_joke)
## Installation
1. Clone the repository:
```bash
git clone https://github.com/yourusername/RandomJoke.git
```
2. Navigate to the project directory:
```bash
cd RandomJoke
```
3. Open `index.html` in your browser to start using the application.
## Usage
1. Open the web page in any modern browser.
2. Click the "Get Random Joke" button.
3. Enjoy a random joke fetched from the API!
## Technologies Used
- HTML
- CSS
- JavaScript
- [Official Joke API](https://official-joke-api.appspot.com)
## Project Structure
```
RandomJoke/
│
├── index.html # The main HTML page
├── script.js # JavaScript file for handling API calls and DOM manipulation
├── style.css # Styling for the web page
└── README.md # Project documentation
```
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
-
Notifications
You must be signed in to change notification settings - Fork 2
iRupam/RandomJoke
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A repository to track the development of RandomJoke project
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published