Skip to content

iRupam/RandomJoke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

# 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.

About

A repository to track the development of RandomJoke project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •