From 9ee953753e9bf5867c51053e797fbd6259965dd0 Mon Sep 17 00:00:00 2001 From: jharkhandguy-bot Date: Sun, 15 Feb 2026 06:51:45 +0000 Subject: [PATCH 1/3] today my study website is done now i going to debug --- study.html | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 study.html diff --git a/study.html b/study.html new file mode 100644 index 0000000000000..d9522db06ee52 --- /dev/null +++ b/study.html @@ -0,0 +1,128 @@ + + + + The study planner + + + + + +

📚 Smart Study Planner

+
+ + + + +
+ Progress: 0% +
+
+ + + + + + + + + + + \ No newline at end of file From 1e15d04e704e6b721dd3b640ac094a24736aa171 Mon Sep 17 00:00:00 2001 From: jharkhandguy-bot Date: Sun, 15 Feb 2026 07:18:54 +0000 Subject: [PATCH 2/3] Add index.html for GitHub Pages --- index.html | 114 +++++++++++++++++++++++++++++++++++++++ study.html | 155 +++++++++++++++++++++++++---------------------------- 2 files changed, 188 insertions(+), 81 deletions(-) create mode 100644 index.html diff --git a/index.html b/index.html new file mode 100644 index 0000000000000..4f5df54f6a2b1 --- /dev/null +++ b/index.html @@ -0,0 +1,114 @@ + + + + The study planner + + + + + +

📚 Smart Study Planner

+
+ + +
    + +
    + Progress: 0% +
    +
    + + + + diff --git a/study.html b/study.html index d9522db06ee52..8fd4ed98bfaa0 100644 --- a/study.html +++ b/study.html @@ -1,66 +1,56 @@ - - The study planner - + + The study planner + @@ -85,40 +75,43 @@

    📚 Smart Study Planner

    list.innerHTML = ""; let completed = 0; - } tasks.forEach((task, index) => { const li = document.createElement("li"); li.textContent = task.name; - }) - if (task.done) + if (task.done) { li.classList.add("completed"); completed++; - li.onclick = () => { - tasks[index].done = !tasks[index].done; + } + li.onclick = () => { + tasks[index].done = !tasks[index].done; saveTasks(); renderTasks(); }; - list.appendChild(li); - + list.appendChild(li); + }); let percent = tasks.length === 0 ? 0 : Math.round((completed / tasks.length) * 100); document.getElementById("progressText").textContent = - "progress:" + percent +"%" ; + "Progress: " + percent +"%" ; + } - function addTask() { - const input = document.getElementById("taskInput"); - if (input.value.trim() === "") return; - tasks.push({ name: input.value, done: false }); - saveTasks(); - renderTasks(); - input.value = ""; - } - renderTasks(); - + function addTask() { + const input = document.getElementById("taskInput"); + const name = input.value.trim(); + if (!name) return; + tasks.push({ name: name, done: false }); + saveTasks(); + input.value = ""; + renderTasks(); + } + + // initialize + renderTasks(); + - - + + From 715e87e75071c8f381010eb06159003989a027ff Mon Sep 17 00:00:00 2001 From: jharkhandguy-bot Date: Sun, 15 Feb 2026 13:05:55 +0530 Subject: [PATCH 3/3] Enhance README with usage and feature details Added usage instructions, technologies used, future improvements, and notes to README. --- README.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000000000..1729ea1943605 --- /dev/null +++ b/README.md @@ -0,0 +1,48 @@ +🛠️ How to Use +Download the code +Save the provided HTML code as studyplanner.html. + +Open in a browser +Double-click the file or open it with Chrome, Firefox, or Edge. + +Add tasks + +Enter your study task in the input box. + +Click Add. + +Mark tasks as completed + +Click on a task to mark it done or undone. + +Check your progress + +The progress percentage updates automatically. + + + +🎨 Technologies Used +HTML5 – Structure of the website. + +CSS3 – Styling and responsive layout. + +JavaScript – Task functionality, progress calculation, and localStorage. + + + +🚀 Future Improvements +Add delete button for tasks. + +Add categories/subjects for better organization. + +Add dark mode toggle. + +Add reminder notifications for tasks. + + + +📌 Notes +This website works completely offline. + +Your tasks are saved only in the browser you use. Clearing browser data will delete all tasks. +