Skip to content

Pratham-Vishwakarma/Computers-Fun-Fact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computers Fun Fact Generator

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!

Features

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

Screenshots

App Screenshot

Above: A screenshot of the Computers Fun Fact Generator in action.

Technologies Used

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

How to Run the Project

  1. Clone the repository:

    git clone https://github.com/Pratham-Vishwakarma/Computers-Fun-Fact.git
  2. Navigate to the project folder:

    cd Computers-Fun-Fact
  3. Open index.html in your browser to view the project:

    open index.html  # For macOS
    # or
    start index.html # For Windows

How It Works

  1. HTML: The HTML file provides the structure, with a button to generate fun facts and a display area for showing them.
  2. 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.
  3. 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.

Contributing

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.

License

This project is open-source and available under the MIT License. See the LICENSE file for more details.

Acknowledgements

  • 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! 🚀💻

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published