Skip to content

ftflfx/demo

Repository files navigation

Getting Started

To run the development server:

pnpm run dev

To build:

pnpm build

Requirements

  • Use https://uselessfacts.jsph.pl/ to fetch random facts
  • Display a list of random facts on the landing page
  • The list should start as a single item, and allow a user to click a button to retrieve the next fact
  • Clicking on a fact should add / remove the fact as a favourite
  • Add a filter to filter between all facts and favourite facts
  • Allow the user to change the language of the facts
  • Refreshing the page should not lose the state of the facts
  • Bonus, build an infinite scroll function to fetch more facts whenever the screen is not fully populated

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published