This project is a collection of interesting and rare fun facts about Sri Lanka cricket, compiled in a JSON format. It was developed as part of the GenAI 101 with Pieces workshop, aimed at demonstrating the integration of AI tools in generating and managing data-driven content.
The project consists of a simple web page that displays fun facts about Sri Lanka cricket. Users can generate new random facts by clicking a button. The project demonstrates the use of HTML, CSS, and JavaScript.
- Display a random fun fact about Sri Lanka cricket.
- Generate a new random fact by clicking a button.
- Stylish and modern design using CSS.
- HTML
- CSS
- JavaScript
index.html: The main HTML file that contains the structure of the web page.styles.css: The CSS file that contains the styling for the web page.script.js: The JavaScript file that contains the logic for generating random facts.
- Clone the repository to your local machine.
- Open
index.htmlin your web browser. - Click the "Generate New Fact" button to see a new random fact.
This project was created for the GenAI 101 with Pieces workshop. The workshop aimed to demonstrate the integration of AI tools in generating and managing data-driven content.
- Special thanks to the GenAI 101 with Pieces workshop organizers.
- Thanks to all contributors and participants of the workshop.
You can view the live version of this project at: https://dlsnemsara.github.io/GenAI-101-with-Pieces/