/chuck-norris-jokes-api-application

Chuck Norris Jokes Api Application

Primary LanguageJavaScript

Chuck Norris Jokes Api Application

You can see an example of working application following this link

React implementation is here

Content

Features

Ability to get a random joke

You can get a random joke by selecting Random radiobutton and pushing Get a joke

showing random button in action

Ability to get a random joke from category

You can get a random joke from category by selecting From categories radiobutton and pushing Get a joke

showing from categories button in action

Ability to get jokes by free text search

You can get jokes by free text search by selecting Search radiobutton and filling search input. Then push Get a joke

showing search in action

Any joke can be marked/unmarked as favourite

You can push a heart icon to add joke to favourite.

showing like button in action

Favourite jokes are stored in browser

Jokes are stored in browser using localStorage

showing favourite jokes after reloading

Responsive design

Application can be in 3 different states:

  • Mobile
  • Tablet
  • Desktop

showing responsive design

Unit tests

Output of unit tests:

showing result of unit tests

Project structure


Made by Ilienko Roman