vino-dk / random-joke

A web application that shows a joke setup and a punchline after a button press. Data is fetched from an API described in README.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Random joke web app

A simple example of using an API to render content. The app was bootstrapped with Create React App.

Features

  • Fetches a random joke from an API provided by: https://github.com/15Dkatz/official_joke_api
  • Initially renders the setup.
  • User can reveal the punchline through a button press.
  • A new joke can be fetched by pressing a button.

Extras:

  • UX improvement: Loading indicator while fetching data.

About

A web application that shows a joke setup and a punchline after a button press. Data is fetched from an API described in README.


Languages

Language:JavaScript 72.7%Language:HTML 15.0%Language:CSS 12.2%