DEV Community

Bhumi Jain
Bhumi Jain

Posted on

🧠 What is Did You Know?

Did You Know is a Chrome extension designed to enhance your browsing experience by popping up an interesting fact every time you open a new tab. Imagine learning about science, history, space, or fun trivia while you prepare to browse — all seamlessly integrated into your new tab page.

Repository
You can find the full source code on GitHub: https://github.com/bhumi-125/Did_You_Know-Chrome-Extension

✨ Key Features:
Random Facts Every Time: Each new tab greets you with a unique fact pulled from a curated collection of fascinating knowledge.
Clean and Minimalist Design: No clutter, just the fact of the moment displayed beautifully against a customizable background.
Extendable Content: Future updates may include themed fact categories, such as science, history, or tech.
🛠️ How I Built It
Here’s a quick rundown of the tech stack and tools used to build Did You Know:

HTML, CSS, JavaScript:

The core logic for displaying random facts is implemented in vanilla JavaScript.
A visually pleasing UI with responsive design using CSS.
JSON File for Facts:

Facts are stored in a local JSON file, which the extension fetches randomly.
Chrome Extension API: uselessfacts

Leveraged the Manifest V3 format for better security and performance.
Future Plans:

Add an external API for dynamic and frequently updated content.
Introduce user preferences for categories and font styles.
🌟 How It Works
Step 1: Download or Clone the Repository: bash git clone https://github.com/bhumi-125/Did_You_Know-Chrome-Extension.git
Step 2:Load the Extension into Chrome: Enable Developer Mode (toggle in the top right corner).
Click on Load Unpacked.
Select the folder where you downloaded/cloned this repository.
You're all set! Open a new tab to see a random fact.
Step 3: Open a new tab.
Step 4: Be greeted with a random, delightful fact to make your day just a little brighter.
For example, you might see:
"Did you know? Octopuses have three hearts, and two of them stop beating when they swim."

🌍 Why Build This?
In the fast-paced digital world, our browsers are portals to endless information. I wanted to create something simple yet impactful — a tool that sparks curiosity and adds a dose of positivity to our browsing routine.
**
🤔 What’s Next?**
Feedback from the Community: I'd love your thoughts on improving Did You Know. Are there features you'd like to see?

🚀 Let's Build Together!
Whether you’re curious about Chrome extensions, want to brainstorm ideas, or love random facts, I’d love to hear from you! Let’s make browsing a more delightful experience, one tab at a time.

Feel free to drop your thoughts or suggestions in the comments. If you’re working on a similar project or want to explore Chrome extension development, let’s connect and exchange ideas!

Stay curious,
Bhumi 🌟

Top comments (0)