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.
- 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
To use this application, follow the steps below:
-
Clone the repository:
-
Open the
index.html
file in a web browser.
- Upon loading the page, a random joke and image will be displayed.
- Users can enter their comments in the input field and click the "Submit" button to submit their comments.
- The submitted comments will be displayed below the input field.
- The page will automatically fetch a new joke and update the image periodically.
This project has no external dependencies.
- Joke API: https://jokeapi.dev/
- Joke API for providing the random jokes.