Overview
A tiny web app that brings users historical events that happened on the current date in the past. The app fetches historical data via an API. I built it to further experiment with visual changes and other functions (upcoming). Try it on GitHub.
Highlights
- Displays a list of notable events that occurred on today’s date in history
- Fetches data from a reliable historical API for accuracy
- Simple, user-friendly design for quick access and reading
Code overview
- HTML (index.html) sets up a simple layout with a title and a section to display historical events.
- CSS (style.css) styles the app to be centered on the page with a clean look, using subtle shadows and padding.
- JavaScript (script.js) fetches historical event data from an external API (history.muffinlabs.com) and displays the top 5 historical events in an unordered list, with error handling in case the data cannot be loaded.
