This is a simple web application that fetches and displays a random activity suggestion using the Bored API. The application is built using HTML, CSS, and JavaScript.
- Fetch a random activity from the Bored API.
- Display the activity suggestion on the webpage.
- Fetch a new activity when the user clicks a button.
- Clone the repository or download the source code.
- Open the
index.html
file in your web browser. - Click the "Get Activity" button to fetch and display a random activity suggestion.
index.html
- The main HTML file that contains the structure of the webpage.styles.css
- The CSS file for styling the webpage.myscripts.js
- The JavaScript file that contains the logic for fetching and displaying the activity suggestion.
- The application uses the All Origins proxy to bypass CORS restrictions.
- A timestamp is added to the URL to ensure that each request is unique and not cached.
This project is open source and available under the MIT License.