Skip to content

About

A random joke generator that fetches jokes from an external API

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Joke Generator 😂

A simple web application that fetches and displays random jokes from an external API.

Features

  • 🎲 Fetches random jokes from JokeAPI
  • 📋 Copy jokes to clipboard with one click
  • 🎨 Beautiful gradient UI with smooth animations
  • 📱 Fully responsive design
  • ⚡ No authentication required

Technologies Used

  • HTML5
  • CSS3 (Flexbox, Gradients, Animations)
  • JavaScript (Async/Await, Fetch API)
  • JokeAPI (External API)

How to Use

  1. Open index.html in your web browser
  2. Click the "Get a Joke" button to fetch a random joke
  3. Click "Copy Joke" to copy the joke to your clipboard
  4. Enjoy the laughs! 😄

API Used

This project uses the free JokeAPI v2 which provides:

  • Various joke categories
  • Programming jokes
  • General jokes
  • Clean, no-auth required API

Installation

No installation needed! Simply download the files and open index.html in your browser.

Future Enhancements

  • Add joke categories filter
  • Add dark mode toggle
  • Add joke history
  • Add share to social media
  • Add favorite jokes storage

License

MIT License - feel free to use this project for personal or commercial purposes.

About

A random joke generator that fetches jokes from an external API

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages