https://github.com/thatsinewave/uselessfacts
simple web application that fetches and displays random useless facts from an API. Click the button to get a new fact every time!
https://github.com/thatsinewave/uselessfacts
api good-first-contribution good-first-issue good-first-pr good-first-pr-first-contribution good-first-project good-first-prs html-css html-css-javascript html-css-js thatsinewave useless useless-facts useless-machine useless-things useless-web useless-websites web-application webapp website
Last synced: about 2 months ago
JSON representation
simple web application that fetches and displays random useless facts from an API. Click the button to get a new fact every time!
- Host: GitHub
- URL: https://github.com/thatsinewave/uselessfacts
- Owner: ThatSINEWAVE
- License: mit
- Created: 2025-02-28T15:20:53.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-02-28T16:39:04.000Z (about 2 months ago)
- Last Synced: 2025-02-28T21:17:57.642Z (about 2 months ago)
- Topics: api, good-first-contribution, good-first-issue, good-first-pr, good-first-pr-first-contribution, good-first-project, good-first-prs, html-css, html-css-javascript, html-css-js, thatsinewave, useless, useless-facts, useless-machine, useless-things, useless-web, useless-websites, web-application, webapp, website
- Language: CSS
- Homepage: https://thatsinewave.github.io/UselessFacts/
- Size: 163 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# [UselessFacts](https://thatsinewave.github.io/UselessFacts/)
A simple web application that fetches and displays random useless facts from an API. Click the button to get a new fact every time!

## Features
- Displays a random useless fact.
- Shows the source and the source URL of the fact.
- Each fact is tagged with a unique ID.## ☕ [Support my work on Ko-Fi](https://ko-fi.com/thatsinewave)
## How to Use
1. Open `index.html` in your browser or [click here](https://thatsinewave.github.io/UselessFacts/).
2. Click the "🔄 Get a Fact" button to fetch a random useless fact.
3. The fact will be displayed along with the source and a link to view more.## API
The app uses the [Useless Facts API](https://uselessfacts.jsph.pl/) to fetch random facts. The API returns a fact in the following format:
- `text`: The fact.
- `source`: The source of the fact.
- `source_url`: The URL for the source.
- `id`: A unique identifier for the fact.## [Join my discord server](https://discord.gg/2nHHHBWNDw)
## Contributing
If you'd like to contribute to this project, please fork the repository and create a pull request.
## License
This project is licensed under the [MIT License](LICENSE).