- Home
- Javascript
- Input and Output
Input and Output of Random Joke Generator
Contents
Input
The app has no traditional text input from the user. The only input action is clicking the “Generate Joke” button, which triggers a function to fetch a new joke from the API.
Output
When the user clicks the button, a new joke string is fetched and displayed on the page. The output is a text paragraph showing a random joke. Each button click updates this paragraph with the latest joke.











