Skip to content

CoderBunnyS/DailyInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Random Activity Generator

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.

Features

  • 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.

How to Use

  1. Clone the repository or download the source code.
  2. Open the index.html file in your web browser.
  3. Click the "Get Activity" button to fetch and display a random activity suggestion.

Files

  • 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.

Notes

  • 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.

License

This project is open source and available under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published