Skip to content

A simple JavaScript project that generates and displays a random joke when a button is clicked. The project also provides the category of the joke retrieved from an API.

Notifications You must be signed in to change notification settings

suryaspandey/Random-Joke-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random-Joke-Generator

A simple JavaScript project that generates and displays a random joke when a button is clicked. The project also provides the category of the joke retrieved from an API.

Hosted Link: https://eclectic-empanada-8406df.netlify.app/

Features

  • Clicking the "Get Joke" button fetches and displays a random joke.
  • The category of the joke is displayed along with the joke itself.

Getting Started

To get started with the project, follow these steps:

  1. Clone this repository to your local machine using: git clone https://github.com/suryaspandey/Random-Joke-Generator/

  2. Open the index.html file in your browser to interact with the random joke generator.

Usage

  1. Open the project in your browser.
  2. Click the "Get Joke" button to fetch and display a random joke along with its category.

Technologies Used

HTML, CSS, JavaScript

API Used

The project utilizes the Random Joke API to retrieve random jokes and their categories.

For more details on the API usage and endpoints, refer to the API Documentation.

About

A simple JavaScript project that generates and displays a random joke when a button is clicked. The project also provides the category of the joke retrieved from an API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published