Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
12c2ba2
Create Quiz Box
Sakshi-033 Aug 12, 2025
447048b
feat: Modernize footer with 3D gradient and animations
google-labs-jules[bot] Aug 18, 2025
3a60ca7
Merge pull request #1 from MehakGo/feature/modern-footer-styling
MehakGo Aug 18, 2025
97bb6cc
feat: Add footer styling
MehakGo Aug 18, 2025
20cb07e
Add files via upload
Munnuri-Vaishnavi Aug 24, 2025
c35d60a
Delete header.html
Munnuri-Vaishnavi Aug 24, 2025
32bf732
Delete header.css
Munnuri-Vaishnavi Aug 24, 2025
43e785e
Add files via upload
Munnuri-Vaishnavi Aug 24, 2025
e5111ef
Merge branch 'main' into main
MehakGo Aug 24, 2025
500628e
Auto-update LEADERBOARD.md [skip ci]
actions-user Aug 24, 2025
f7c8adc
Auto-update LEADERBOARD.md [skip ci]
actions-user Aug 25, 2025
cd87b44
Fix: show neutral welcome for logged out users and personalize greeti…
Gourangi4 Aug 25, 2025
cbc1083
Fix: hide Back-to-Top button when drawer/ footer is visible (#764)
Gourangi4 Aug 25, 2025
08ae41c
Auto-update LEADERBOARD.md [skip ci]
actions-user Aug 26, 2025
c36ec51
Added feature cards
JiyaAgrawal27 Aug 26, 2025
eb24ee2
Auto-update LEADERBOARD.md [skip ci]
actions-user Aug 27, 2025
9eacb2c
Auto-update LEADERBOARD.md [skip ci]
actions-user Aug 28, 2025
4f9716f
Auto-update LEADERBOARD.md [skip ci]
actions-user Aug 29, 2025
089b820
Auto-update LEADERBOARD.md [skip ci]
actions-user Aug 30, 2025
3d52b37
Auto-update LEADERBOARD.md [skip ci]
actions-user Aug 30, 2025
44f44c8
Merge pull request #842 from Gourangi4/issue-764-back-to-top-fix
adityai0 Aug 30, 2025
c6913f1
Merge pull request #840 from Gourangi4/issue-765-welcome-back-fix
adityai0 Aug 30, 2025
2b8f1e6
Auto-update LEADERBOARD.md [skip ci]
actions-user Aug 30, 2025
9224912
Auto-update LEADERBOARD.md [skip ci]
actions-user Aug 30, 2025
ce9256a
Auto-update LEADERBOARD.md [skip ci]
actions-user Aug 31, 2025
834af26
Auto-update LEADERBOARD.md [skip ci]
actions-user Aug 31, 2025
bc326b4
Auto-update LEADERBOARD.md [skip ci]
actions-user Aug 31, 2025
a5a0168
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 1, 2025
ee8abcb
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 1, 2025
1b431ef
Merge pull request #834 from Munnuri-Vaishnavi/main
adityai0 Sep 1, 2025
610c2fd
Add PWA touch icons and updated web manifest
Red-Phoenix-01 Sep 1, 2025
ee38071
Update index.html
Red-Phoenix-01 Sep 1, 2025
557a485
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 2, 2025
df37856
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 2, 2025
11c26c9
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 3, 2025
ba2c3db
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 3, 2025
311cfaa
Fix: add password visibility toggle to Confirm Password field (#864)
utkarshshukla03 Sep 3, 2025
ef4ac30
Fix: add password visibility toggle to confirm password field (#864)
utkarshshukla03 Sep 3, 2025
4406c4a
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 3, 2025
a94852b
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 3, 2025
c9d453a
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 3, 2025
0036b9c
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 4, 2025
cd8a30e
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 4, 2025
071a0c5
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 5, 2025
c2bab2f
Merge pull request #895 from Red-Phoenix-01/add-touch-icon
adityai0 Sep 5, 2025
9bbbede
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 5, 2025
9529ba1
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 6, 2025
b92e689
Update index.html
Renu-code123 Sep 6, 2025
46d2ee1
Create feedback.js
Renu-code123 Sep 6, 2025
5cc7232
Create feedback.css
Renu-code123 Sep 6, 2025
f400513
Merge pull request #910 from Renu-code123/main
adityai0 Sep 6, 2025
e0b9a02
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 6, 2025
4958913
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 7, 2025
bb93be8
Merge pull request #905 from utkarshshukla03/feature/signup
adityai0 Sep 7, 2025
d4b4b25
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 7, 2025
a24367e
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 8, 2025
eddd1ac
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 9, 2025
1195b7e
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 10, 2025
01e6478
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 11, 2025
f51d098
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 12, 2025
66f331d
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 13, 2025
553d39f
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 14, 2025
b98bb88
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 15, 2025
bd84a14
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 16, 2025
4435248
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 17, 2025
89d936e
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 18, 2025
5b99508
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 19, 2025
2a4217e
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 20, 2025
3f98321
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 21, 2025
acb6de1
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 22, 2025
0c584c0
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 23, 2025
853d82e
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 24, 2025
2ea77d7
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 25, 2025
eec9249
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 26, 2025
f2ac262
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 27, 2025
f7f23e2
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 28, 2025
403ad2b
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 29, 2025
1233889
Auto-update LEADERBOARD.md [skip ci]
actions-user Sep 30, 2025
11be8ff
Auto-update LEADERBOARD.md [skip ci]
actions-user Oct 1, 2025
0382ee9
Auto-update LEADERBOARD.md [skip ci]
actions-user Oct 2, 2025
10d6c81
Auto-update LEADERBOARD.md [skip ci]
actions-user Oct 3, 2025
cc34a1e
Auto-update LEADERBOARD.md [skip ci]
actions-user Oct 4, 2025
e38b565
Auto-update LEADERBOARD.md [skip ci]
actions-user Oct 5, 2025
4d870b5
Merge branch 'main' into main
OpArcade Oct 5, 2025
0a23d53
Auto-update LEADERBOARD.md [skip ci]
actions-user Oct 5, 2025
57ba219
Merge pull request #772 from MehakGo/main
OpArcade Oct 5, 2025
d83a306
Merge pull request #844 from JiyaAgrawal27/enhancement/817_adding_cards
OpArcade Oct 5, 2025
069f07e
Merge pull request #696 from Sakshi-033/patch-1
OpArcade Oct 5, 2025
f75fb2f
Auto-update LEADERBOARD.md [skip ci]
actions-user Oct 5, 2025
c716746
Update login.js
Harsh-26626 Nov 15, 2025
6015fe9
Auto-update LEADERBOARD.md [skip ci]
actions-user Nov 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 39 additions & 9 deletions LEADERBOARD.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,48 @@

This leaderboard tracks contributors who have completed issues labeled as `level1`, `level2`, or `level3`, along with their merged pull requests.

*Last updated: 2025-08-30*
*Last updated: 2025-11-15*

| Username | Level 1 | Level 2 | Level 3 | PRs Merged |
|----------|---------|---------|---------|-------------|
| [@Peehu1308](https://github.com/Peehu1308) | 6 | 3 | 0 | 8 |
| [@VaibhavChougule236](https://github.com/VaibhavChougule236) | 20 | 3 | 0 | 14 |
| [@Peehu1308](https://github.com/Peehu1308) | 7 | 3 | 0 | 9 |
| [@Harsh-26626](https://github.com/Harsh-26626) | 2 | 2 | 0 | 12 |
| [@AlapatiSreeHarsha](https://github.com/AlapatiSreeHarsha) | 2 | 2 | 0 | 9 |
| [@FrostByte-49](https://github.com/FrostByte-49) | 0 | 3 | 1 | 4 |
| [@Srushtee1706](https://github.com/Srushtee1706) | 7 | 1 | 0 | 3 |
| [@FrostByte-49](https://github.com/FrostByte-49) | 0 | 4 | 1 | 4 |
| [@Pallavi-kr6](https://github.com/Pallavi-kr6) | 3 | 2 | 0 | 3 |
| [@StephanosNikitis](https://github.com/StephanosNikitis) | 4 | 0 | 0 | 4 |
| [@Srushtee1706](https://github.com/Srushtee1706) | 4 | 1 | 0 | 3 |
| [@SagnikDey1503](https://github.com/SagnikDey1503) | 3 | 1 | 0 | 4 |
| [@adityai0](https://github.com/adityai0) | 0 | 1 | 0 | 7 |
| [@Copilot](https://github.com/Copilot) | 0 | 1 | 0 | 7 |
| [@Radhika984](https://github.com/Radhika984) | 2 | 1 | 0 | 4 |
| [@Gourangi4](https://github.com/Gourangi4) | 4 | 0 | 0 | 2 |
| [@snehhhcodes](https://github.com/snehhhcodes) | 2 | 1 | 0 | 3 |
| [@AshmitSherigar](https://github.com/AshmitSherigar) | 3 | 0 | 0 | 3 |
| [@Radhika984](https://github.com/Radhika984) | 1 | 1 | 0 | 4 |
| [@Copilot](https://github.com/Copilot) | 0 | 1 | 0 | 5 |
| [@dodithakur](https://github.com/dodithakur) | 4 | 0 | 0 | 1 |
| [@Shobhini](https://github.com/Shobhini) | 2 | 0 | 0 | 3 |
| [@Arsenal17x](https://github.com/Arsenal17x) | 1 | 0 | 1 | 3 |
| [@MeenakshiAM](https://github.com/MeenakshiAM) | 2 | 1 | 0 | 2 |
| [@VidhanThakur09](https://github.com/VidhanThakur09) | 0 | 2 | 0 | 2 |
| [@Sujal-Raj](https://github.com/Sujal-Raj) | 0 | 1 | 0 | 3 |
| [@Akshay-gurav-31](https://github.com/Akshay-gurav-31) | 2 | 1 | 0 | 0 |
| [@Manika-Sabharwal](https://github.com/Manika-Sabharwal) | 2 | 0 | 0 | 1 |
| [@AriyanPal08](https://github.com/AriyanPal08) | 0 | 2 | 0 | 1 |
| [@Yug210705](https://github.com/Yug210705) | 2 | 0 | 0 | 1 |
| [@JeevithaR3](https://github.com/JeevithaR3) | 1 | 1 | 0 | 1 |
| [@Surabhi210](https://github.com/Surabhi210) | 2 | 0 | 0 | 1 |
| [@lobby11](https://github.com/lobby11) | 2 | 0 | 0 | 1 |
| [@deepanshu-prajapati01](https://github.com/deepanshu-prajapati01) | 2 | 0 | 0 | 1 |
| [@adityai0](https://github.com/adityai0) | 0 | 1 | 0 | 2 |
| [@Yug210705](https://github.com/Yug210705) | 1 | 0 | 0 | 1 |
| [@Soumyosish](https://github.com/Soumyosish) | 2 | 0 | 0 | 1 |
| [@Suupratik](https://github.com/Suupratik) | 1 | 0 | 0 | 1 |
| [@MrunaliniPachpute](https://github.com/MrunaliniPachpute) | 1 | 0 | 0 | 1 |
| [@Renu-code123](https://github.com/Renu-code123) | 0 | 1 | 0 | 1 |
| [@Apo-orva17](https://github.com/Apo-orva17) | 2 | 0 | 0 | 0 |
| [@JiyaAgrawal27](https://github.com/JiyaAgrawal27) | 1 | 0 | 0 | 1 |
| [@Sagar1610Codes](https://github.com/Sagar1610Codes) | 1 | 0 | 0 | 1 |
| [@harshgupta9129](https://github.com/harshgupta9129) | 1 | 0 | 0 | 1 |
| [@MehakGo](https://github.com/MehakGo) | 1 | 0 | 0 | 1 |
| [@Abhiyanshu-Sharma](https://github.com/Abhiyanshu-Sharma) | 0 | 1 | 0 | 1 |
| [@priyanshu5ingh](https://github.com/priyanshu5ingh) | 1 | 1 | 0 | 0 |
| [@Kushanware](https://github.com/Kushanware) | 1 | 0 | 0 | 1 |
Expand All @@ -56,24 +68,42 @@ This leaderboard tracks contributors who have completed issues labeled as `level
| [@mehershiri](https://github.com/mehershiri) | 1 | 0 | 0 | 1 |
| [@Forever-299](https://github.com/Forever-299) | 1 | 0 | 0 | 1 |
| [@Milan0407](https://github.com/Milan0407) | 1 | 0 | 0 | 1 |
| [@Soumyosish](https://github.com/Soumyosish) | 1 | 0 | 0 | 1 |
| [@Aripilli-Bhavana](https://github.com/Aripilli-Bhavana) | 1 | 0 | 0 | 1 |
| [@Bala327](https://github.com/Bala327) | 1 | 0 | 0 | 1 |
| [@Mehak-Parveen](https://github.com/Mehak-Parveen) | 1 | 0 | 0 | 1 |
| [@RAJVEER42](https://github.com/RAJVEER42) | 0 | 1 | 0 | 1 |
| [@SHUBBHAM-KUMARR](https://github.com/SHUBBHAM-KUMARR) | 1 | 0 | 0 | 1 |
| [@suedaysse](https://github.com/suedaysse) | 1 | 0 | 0 | 1 |
| [@ShahanasParapporu](https://github.com/ShahanasParapporu) | 0 | 1 | 0 | 0 |
| [@dimpal-yadav](https://github.com/dimpal-yadav) | 1 | 0 | 0 | 0 |
| [@Sneha-Goswami123](https://github.com/Sneha-Goswami123) | 1 | 0 | 0 | 0 |
| [@s0wjanyaa](https://github.com/s0wjanyaa) | 1 | 0 | 0 | 0 |
| [@Saloni182004](https://github.com/Saloni182004) | 1 | 0 | 0 | 0 |
| [@ananyaarramalla](https://github.com/ananyaarramalla) | 1 | 0 | 0 | 0 |
| [@aditi-verma-20](https://github.com/aditi-verma-20) | 1 | 0 | 0 | 0 |
| [@dhupikarajput](https://github.com/dhupikarajput) | 1 | 0 | 0 | 0 |
| [@Dippp10](https://github.com/Dippp10) | 0 | 1 | 0 | 0 |
| [@shreya-mishra325](https://github.com/shreya-mishra325) | 0 | 1 | 0 | 0 |
| [@AditthyaSS](https://github.com/AditthyaSS) | 0 | 1 | 0 | 0 |
| [@ankan123basu](https://github.com/ankan123basu) | 1 | 0 | 0 | 0 |
| [@LohithNandhimalla](https://github.com/LohithNandhimalla) | 1 | 0 | 0 | 0 |
| [@Channpreetk](https://github.com/Channpreetk) | 1 | 0 | 0 | 0 |
| [@Niyatikansal31](https://github.com/Niyatikansal31) | 0 | 1 | 0 | 0 |
| [@Sasuke66](https://github.com/Sasuke66) | 1 | 0 | 0 | 0 |
| [@Anushka-045](https://github.com/Anushka-045) | 1 | 0 | 0 | 0 |
| [@AbhishekSharma-9](https://github.com/AbhishekSharma-9) | 0 | 1 | 0 | 0 |
| [@prakritirathi](https://github.com/prakritirathi) | 0 | 1 | 0 | 0 |
| [@zoxilsi](https://github.com/zoxilsi) | 0 | 1 | 0 | 0 |
| [@AnkushRawat0](https://github.com/AnkushRawat0) | 1 | 0 | 0 | 0 |
| [@Ayushii-uniyal](https://github.com/Ayushii-uniyal) | 1 | 0 | 0 | 0 |
| [@Samridha0305](https://github.com/Samridha0305) | 0 | 1 | 0 | 0 |
| [@madegowda11](https://github.com/madegowda11) | 1 | 0 | 0 | 0 |
| [@shrvtiprasad](https://github.com/shrvtiprasad) | 1 | 0 | 0 | 0 |
| [@DeeptiChincholi](https://github.com/DeeptiChincholi) | 1 | 0 | 0 | 0 |
| [@ChaitanyaBadukale777](https://github.com/ChaitanyaBadukale777) | 1 | 0 | 0 | 0 |
| [@vinita-rajaram](https://github.com/vinita-rajaram) | 0 | 1 | 0 | 0 |
| [@nitin-gumber](https://github.com/nitin-gumber) | 1 | 0 | 0 | 0 |
| [@Sandraa16012007](https://github.com/Sandraa16012007) | 0 | 0 | 1 | 0 |

---

Expand Down
148 changes: 148 additions & 0 deletions Quiz Box
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>NotesVault - Features</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-50 text-gray-800">

<!-- Features Section -->
<section class="py-12 px-6 max-w-7xl mx-auto">
<h1 class="text-3xl md:text-4xl font-bold text-center mb-4">✨ Key Features of <span class="text-blue-600">NotesVault</span></h1>
<p class="text-center text-lg text-gray-600 mb-10">Empowering your study experience with simplicity and speed.</p>

<div class="grid gap-6 sm:grid-cols-2 lg:grid-cols-3">
<div class="bg-white rounded-xl shadow-md p-6 hover:shadow-lg transition">
<h2 class="text-xl font-semibold mb-2">📚 Organized by Branch & Semester</h2>
<p class="text-gray-600">Sort your notes smartly by branch and semester, making it easier to browse content.</p>
</div>
<div class="bg-white rounded-xl shadow-md p-6 hover:shadow-lg transition">
<h2 class="text-xl font-semibold mb-2">🔍 Smart Search</h2>
<p class="text-gray-600">Search notes by subject, semester, or custom tags with instant results.</p>
</div>
<div class="bg-white rounded-xl shadow-md p-6 hover:shadow-lg transition">
<h2 class="text-xl font-semibold mb-2">📝 Jotpad</h2>
<p class="text-gray-600">Take quick notes or summaries anytime without switching tabs.</p>
</div>
<div class="bg-white rounded-xl shadow-md p-6 hover:shadow-lg transition">
<h2 class="text-xl font-semibold mb-2">📤 Easy Upload</h2>
<p class="text-gray-600">Upload your notes with a clean form or drag & drop interface.</p>
</div>
<div class="bg-white rounded-xl shadow-md p-6 hover:shadow-lg transition">
<h2 class="text-xl font-semibold mb-2">🌙 Light/Dark Mode</h2>
<p class="text-gray-600">Switch themes for your comfort and improved readability anytime.</p>
</div>
<div class="bg-white rounded-xl shadow-md p-6 hover:shadow-lg transition">
<h2 class="text-xl font-semibold mb-2">🧾 License-Friendly</h2>
<p class="text-gray-600">Open-source and transparent — explore the GitHub repo and contribute easily.</p>
</div>
</div>
</section>

<!-- Quiz Section -->
<div id="quiz-widget" class="max-w-xl mx-auto mt-10 p-6 bg-white shadow-xl rounded-2xl">
<h2 class="text-2xl font-bold mb-4 text-center">🎯 Take a Quick Quiz</h2>

<div class="mb-4">
<label class="block mb-2 font-semibold">Choose Education Level:</label>
<select id="level" onchange="updateSubjects()" class="w-full p-2 border rounded focus:ring-2 focus:ring-blue-400">
<option value="School">School</option>
<option value="BTech">BTech</option>
</select>
</div>

<div class="mb-4">
<label class="block mb-2 font-semibold">Choose Subject:</label>
<select id="subject" class="w-full p-2 border rounded focus:ring-2 focus:ring-blue-400"></select>
</div>

<div class="mb-4">
<label class="block mb-2 font-semibold">Choose Difficulty:</label>
<select id="difficulty" class="w-full p-2 border rounded focus:ring-2 focus:ring-blue-400">
<option value="easy">Easy</option>
<option value="medium" selected>Medium</option>
<option value="hard">Hard</option>
</select>
</div>

<button onclick="startQuiz()" class="w-full bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700 transition">Start Quiz</button>

<div id="quiz-container" class="mt-6 hidden">
<p id="question" class="font-semibold mb-3"></p>
<div id="options" class="space-y-2"></div>
<button onclick="submitAnswer()" class="w-full mt-4 bg-green-600 text-white px-4 py-2 rounded hover:bg-green-700 transition">Submit</button>
<p id="result" class="mt-4 font-bold text-lg text-center"></p>
</div>
</div>

<script>
const subjectMap = {
'School': { 'Math': 19, 'Science': 17, 'History': 23 },
'BTech': { 'Computer Science': 18, 'Electronics': 30, 'General Knowledge': 9 }
};

let correctAnswer = '';

function updateSubjects() {
const level = document.getElementById('level').value;
const subjectSelect = document.getElementById('subject');
subjectSelect.innerHTML = '';
const subjects = Object.keys(subjectMap[level] || {});
subjects.forEach(sub => {
const option = document.createElement('option');
option.value = sub;
option.textContent = sub;
subjectSelect.appendChild(option);
});
}

async function startQuiz() {
const level = document.getElementById('level').value;
const subject = document.getElementById('subject').value;
const difficulty = document.getElementById('difficulty').value;
const category = subjectMap[level]?.[subject] || '';
const url = `https://opentdb.com/api.php?amount=1&difficulty=${difficulty}&type=multiple${category ? `&category=${category}` : ''}`;
const res = await fetch(url);
const data = await res.json();

if (data.results && data.results.length > 0) {
const questionData = data.results[0];
correctAnswer = questionData.correct_answer;
const allAnswers = [...questionData.incorrect_answers, correctAnswer].sort(() => Math.random() - 0.5);
document.getElementById('question').innerHTML = decodeHTML(questionData.question);
const optionsHTML = allAnswers.map(answer => `
<label class="block border p-2 rounded hover:bg-gray-100 cursor-pointer">
<input type="radio" name="answer" value="${answer}" class="mr-2">
${decodeHTML(answer)}
</label>
`).join('');
document.getElementById('options').innerHTML = optionsHTML;
document.getElementById('quiz-container').classList.remove('hidden');
document.getElementById('result').textContent = '';
}
}

function submitAnswer() {
const selected = document.querySelector('input[name="answer"]:checked');
if (!selected) {
alert("Please select an answer.");
return;
}
const isCorrect = selected.value === correctAnswer;
document.getElementById('result').textContent = isCorrect ? "✅ Correct!" : `❌ Wrong! Correct answer was: ${correctAnswer}`;
document.getElementById('result').classList.add(isCorrect ? 'text-green-600' : 'text-red-600');
}

function decodeHTML(html) {
const txt = document.createElement('textarea');
txt.innerHTML = html;
return txt.value;
}

window.onload = updateSubjects;
</script>

</body>
</html>
Binary file added assets/index/images/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/index/images/favicon-96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/index/images/favicon.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions assets/index/images/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions assets/index/images/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "NotesVault",
"short_name": "NotesVault",
"icons": [
{
"src": "/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "../assets/index/images/favicon-96x96.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "../assets/index/images/apple-touch-icon.png",
"sizes": "180x180",
"type": "image/png"
},
{
"src": "../assets/index/images/favicon.svg",
"sizes": "any",
"type": "image/svg+xml"
}
],
"theme_color": "#4523ab",
"background_color": "#000000",
"display": "standalone"
}
Binary file added assets/index/images/web-app-manifest-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/index/images/web-app-manifest-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading