🚀 In this video, we're building a powerful AI-Powered Question Paper Generator app designed for teachers and students using Lovable AI, React.js, Tailwind CSS, and Gemini AI API.
💡 This tool helps in schools to simplify paper generation, solution creation, answer evaluation, and performance tracking. It’s fully equipped with:
✅ Question Paper Generation
✅ Auto-Solution Generation
✅ Answer Submission & AI-Based Evaluation
✅ Performance Summary
✅ Print-Ready Papers
✅ Timer Functionality
✅ Modern & Clean UI (Dark & Light Mode)
Whether you're a developer, teacher, or student, this tool is a must-watch!
🔔 Don't forget to subscribe for more tech tutorials, project builds, and developer tips
📱 Connect with me:
Instagram: / codewithmahdi
GitHub: https://github.com/hafizmahdi2010/
Facebook: https://www.facebook.com/profile.php?...
📧 For business inquiries / Promotions : [email protected]
PROMPT:
(
Create a responsive and modern Question Paper Generator web application using React.js, Tailwind CSS, and Gemini AI API. The app should feature a clean, user-friendly UI/UX with support for both light and dark modes and gradient text styles that look visually appealing in both themes.
The application should support the generation of question papers, their solutions, and answer-checking functionality with a complete performance breakdown including percentage, grade, and remarks.
📋 Functional Requirements:
🔢 Input Fields:
Subject (Dropdown)
Options: Maths, Science, SST, English, Hindi, Urdu, Chemistry, Biology, Physics
Class (Dropdown)
Options: Class 6 to 12 (you may use a dynamic numeric dropdown)
Total Marks (Dropdown)
Options: 20, 40, 50, 60, 75, 80, 100
Difficulty Level (Dropdown)
Options: Easy, Normal, Hard
Book (Dropdown or text input)
Examples: NCERT, CBSE, State Board, etc.
Chapters (Multi-select or tags input)
Specific Topics to Focus (Optional text input)
Additional Instructions (Text area)
Question Paper Pattern (Dropdown)
Options: Board, Local, MCQ, etc.
🛠 Features to Implement:
1. 🎓 Generate Question Paper
Use the Gemini AI API to generate a well-structured question paper based on the selected inputs.
Gemini will return data in Markdown format. Use the react-markdown library to convert and render Markdown into HTML.
2. 📘 Generate Solutions
Upon request, Gemini AI should also generate step-by-step solutions for the generated questions using the same input context.
3. 📝 Answer Submission & Evaluation
Allow users to submit answers to the generated questions.
Use Gemini API to evaluate the answers and provide:
Correctness per question
Detailed explanation or correction
Overall performance summary:
Total Score
Percentage
Grade (A/B/C/etc.)
Feedback or remarks
🎨 UI/UX and Design:
Use Tailwind CSS for styling.
Implement a theme switcher (dark/light mode).
Use gradient-colored headings/text that adapt visually to both themes.
Ensure the app is fully responsive across devices (mobile, tablet, desktop).
Provide loading states, error handling, and toast notifications for user feedback.
🔌 Libraries & Technologies:
React.js (Core Framework)
Tailwind CSS (Styling & Theming)
react-markdown (To render Markdown responses from Gemini)
@headlessui/react or Radix UI for dropdowns/modals (optional)
React Router (If multi-page routing is required)
Gemini AI API for content generation and answer evaluation
🧪 Optional Enhancements:
Store user's question papers and results (using localStorage or Firebase)
PDF export feature for question papers and solutions
User login system (if needed)
Timer/Exam mode UI for real practice
Rich-text editor for submitting answers
✅ Expected Outcome:
A polished, interactive web app where teachers or students can:
Generate subject-specific question papers with custom difficulty
View and print solutions
Submit answers and receive AI-evaluated performance metrics
My api key: "YOUR API KEY"
use free gemini model
)
gemini for researchers,gemini 2.5 features,gemini pro use cases,gemini 2.5 coding,gemini 2.5 coding demo,google deepmind gemini,build ai app,gemini 2.5 pro,build ai chatbot,google gemini ai,gemini 2.5 review,build ai,google gemini,gemini vs gpt-4,gemini vs claude 3,flutterinproduction,ai reasoning models,how to become ai developer in india,ai with video understanding,ai for small business,ai productivity tools,ai course for beginners,xstatestore #AI #ReactJS #GeminiAI #TailwindCSS #FullStackProject #AIProduct #EdTech #QuestionPaperGenerator #SchoolApp #TeachersApp #LovableAI #StudentApp #BuildWithAI #AIinEducation #ModernUI
Информация по комментариям в разработке