Kei-K23 / daily-joke

daily-joke JavaScript simple project using Fetch API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Joke Generator

Description

This is a web application that generates random jokes and allows users to add comments. It utilizes the Joke API to fetch jokes and displays them on the page. Users can also leave comments, which are stored locally in the browser's storage.

Features

  • Fetches random jokes from the Joke API
  • Displays jokes and random images on the page
  • Allows users to add comments
  • Comments are stored in the browser's local storage (only read and write in user browser and comments are not share with others.)
  • Provides a countdown timer for the next joke update

Getting Started

To use this application, follow the steps below:

  1. Clone the repository:

  2. Open the index.html file in a web browser.

Usage

  1. Upon loading the page, a random joke and image will be displayed.
  2. Users can enter their comments in the input field and click the "Submit" button to submit their comments.
  3. The submitted comments will be displayed below the input field.
  4. The page will automatically fetch a new joke and update the image periodically.

Dependencies

This project has no external dependencies.

Resources

Acknowledgments

  • Joke API for providing the random jokes.

About

daily-joke JavaScript simple project using Fetch API


Languages

Language:JavaScript 44.9%Language:CSS 30.4%Language:HTML 24.7%