FuturePath
Smart Guidance for a Brighter Future.
The problem FuturePath solves
Today, many students are confused about what to study or which career to choose, and they only know a few traditional options. There are career tests and counselling services, but they are often boring, expensive or not accessible for school and college students, so most students never use them regularly. FuturePath solves this by turning career and skill discovery into a gamified quiz experience with XP, levels, streaks and leaderboards, so students actually enjoy exploring different fields. Based on their quiz performance and interests, the platform gives them personalised hints about domains that might fit them better, helping them save time and move from “confused” to “clear next steps”.**********
Challenges I ran into
Firebase integration & module loading bug
While building FuturePath, one big hurdle was integrating Firebase (Firestore) with my vanilla HTML/JS quiz. I switched my scripts to
type="module"
to useimport
for the Firebase SDK, but after that the quiz stopped working: questions were not random, the timer and XP bar were not updating, and nothing obvious was failing.At first there were no clear errors in the console, which made debugging confusing. I eventually realized the issue was how I was loading the modules and how the files were referenced. The browser could not find the correct
firebase-init.js
file via the relative path, so the import silently failed and the rest of the logic never ran properly.To fix it, I:
- Opened DevTools and carefully checked the Network and Console tabs.
- Verified the folder structure and corrected the import paths (for example,
import { db } from './firebase-init.js';
vs./js/firebase-init.js
). - Made sure my
<script type="module" src="js/quiz.js"></script>
was at the bottom of the HTML and that Firebase SDK URLs were correct.
Once I fixed the module paths and script tags, the quiz logic (random questions, timer, XP/levels) started working as expected, and Firebase logging worked reliably. This taught me to always double-check module paths and use the browser console/network tab instead of guessing.
Tracks Applied (1)
Duality AI — Offroad Semantic Scene Segmentation
DUALITY
Technologies used
