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 (1)

Collapse
 
bhumi26 profile image
Bhumi Jain •

i would really appreciate your views