Welcome to the Computers Fun Fact Generator! This web application generates random, fun facts about the history and technology of computers. It's a light-hearted way to learn something new every time you click the button!
- Random Fun Facts: The app displays a random fact about computers each time you click the "Generate Fact" button.
- Retro Style: The app is designed with a retro, pixelated theme reminiscent of early computer graphics and video games.
- Animated Grid Background: The background features a moving grid pattern to give it an interesting, animated look.
- Responsive Design: The app is mobile-friendly, ensuring that you can enjoy fun facts on any device.
Above: A screenshot of the Computers Fun Fact Generator in action.
- HTML: Structure of the webpage.
- CSS: Styling, including the retro pixelated theme, glowing effects, and animations.
- JavaScript: Used for generating random fun facts from a list and displaying them in a dynamic, interactive way.
- Google Fonts: For the custom pixelated font (
Press Start 2P
), adding to the retro look.
-
Clone the repository:
git clone https://github.com/Pratham-Vishwakarma/Computers-Fun-Fact.git
-
Navigate to the project folder:
cd Computers-Fun-Fact
-
Open
index.html
in your browser to view the project:open index.html # For macOS # or start index.html # For Windows
- HTML: The HTML file provides the structure, with a button to generate fun facts and a display area for showing them.
- CSS: The CSS styles the page with a black background, neon-green text, and animated grid effects. The button and fun fact display areas are styled for a retro, glowing effect.
- JavaScript: The JS code stores an array of fun facts and handles the logic of randomly selecting and displaying a fact when the user clicks the "Generate Fact" button.
We welcome contributions to improve this project! Feel free to:
- Submit issues for bugs or feature requests.
- Fork the repository and submit a pull request for enhancements.
Please ensure that any changes are thoroughly tested and well-documented.
This project is open-source and available under the MIT License. See the LICENSE file for more details.
- Press Start 2P font: Available from Google Fonts for a retro gaming feel.
- Inspiration: Inspired by classic computer history and trivia games.
Enjoy discovering new facts about the world of computing! 🚀💻