Skip to content

aleksson/joke-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Joke Generator App

Welcome to the Joke Generator App! This app fetches random jokes and displays them for your entertainment. You can also listen to the jokes using the built-in text-to-speech feature.

Features

  • Fetches random jokes from an API
  • Displays the joke setup and punchline
  • Text-to-speech functionality to read the joke aloud
  • Responsive design for mobile and desktop

Technologies Used

  • HTML
  • CSS
  • JavaScript
  • Font Awesome for icons
  • Google Fonts for typography

How to Use

  1. Open the index.html file in your web browser.
  2. Click the "Get New Joke" button to fetch a new joke.
  3. Click the speaker icon to hear the joke read aloud.

Project Structure

  • index.html: The main HTML file that contains the structure of the app.
  • style.css: The CSS file for styling the app.
  • script.js: The JavaScript file that contains the logic for fetching and displaying jokes.

Setup

  1. Clone the repository:
    git clone https://github.com/yourusername/joke-app.git
    
  2. Navigate to the project directory:
    cd joke-app
    
  3. Open index.html in your preferred web browser.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

Enjoy the laughs!

About

πŸ˜‚ The Joke Generator πŸ˜‚

Topics

Resources

Stars

Watchers

Forks

Contributors