## Inspiration
Students often spend a lot of time preparing questions from their study notes. I wanted to make learning easier and more interactive. This inspired me to build SmartStudy Quiz Maker, an AI-powered application that turns study notes into quizzes instantly.
What I Built
SmartStudy Quiz Maker allows students to paste their study notes and generate five multiple-choice questions using Google Gemini AI. It provides instant answer feedback, displays correct answers, calculates total marks and percentage, and allows students to try again.
How I Built It
I used:
- HTML, CSS and JavaScript for the frontend.
- Node.js and Express for the backend.
- Google Gemini AI API for generating quiz questions.
- Environment variables to protect the API key.
The frontend sends study notes to the backend, which communicates with Gemini AI and returns generated questions.
Challenges I Faced
One of the biggest challenges was handling Gemini API delays and model availability. I implemented a fallback mechanism to try another model when the primary model is slow or unavailable.
I also faced issues with displaying the final score and Try Again button. I debugged the frontend and separated the result section to make the display more reliable.
What I Learned
Through this project, I learned how to integrate generative AI into a web application, connect a frontend with a backend, work with APIs, handle errors, protect API keys, and debug real-world application issues.
What's Next
I would like to improve SmartStudy Quiz Maker with different difficulty levels, more question types, progress tracking, and support for uploading study documents.
SmartStudy Quiz Maker — Making learning smarter, simpler, and more interactive with AI!
Built With
- css3
- dotenv
- express.js
- google-gemini-ai
- html5
- javascript
- node.js
- restapi