Skip to content

Shafi-Yaftali01/joke-teller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Joker Teller Website

Welcome to the Joker Teller website! This project is a simple web application that fetches a random joke from an API and presents it using a Voice API for an interactive and entertaining experience.

Description

The Joker Teller website is designed to provide users with a lighthearted and amusing experience by fetching a random joke and presenting it through a voice interface. The application uses asynchronous JavaScript functions, error handling with try/catch, and incorporates a CSS loader/spinner for a smooth user experience. Additionally, the project includes an audio element to play the fetched joke using the Voice API.

Features

  • Fetch API: The application leverages an external API to fetch a random joke dynamically.

  • Async Function: The use of asynchronous JavaScript functions ensures seamless fetching and handling of the joke data.

  • Try / Catch: The project incorporates try/catch blocks to effectively handle potential errors during the API request, providing a robust and error-tolerant application.

  • CSS Loader / Spinner: A visually appealing loader or spinner is included to give users feedback while the joke is being fetched, enhancing the overall user experience.

  • Audio Element: The website uses an audio element to play the fetched joke through a Voice API, adding an interactive and engaging aspect to the joke-telling experience.

Getting Started

To get started with the Joker Teller website, follow these steps:

  1. Clone the repository:

    git clone https://github.com/your-username/joker-teller.git
  2. Open the project in your preferred code editor.

  3. Run the project locally using a development server or by opening the index.html file in a web browser.

  4. Experience the joy of random jokes presented through the Voice API!

Dependencies

This project relies on the following technologies and libraries:

  • JavaScript (ES6+)
  • HTML
  • CSS
  • Voice API
  • [External Joke API]

Contributing

If you would like to contribute to the development of the Joker Teller website, feel free to fork the repository and submit pull requests. Your contributions are highly appreciated!

License

This project is licensed under the MIT License.

Happy joking! 😊