Calculator Tools Calculator Tools
Create

Physics Revision Planner - IIT JEE

Oct 15, 2023

About this app

Plan and organize your physics revision for IIT JEE with this helpful app.

Physics Revision Planner - IIT JEE Physics Revision Planner - IIT JEE Revision Plan Add Task

Related apps

Put this on your site

Source

                    <html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">

<title>Physics Revision Planner - IIT JEE</title>
<meta name="description" content="Plan and organize your physics revision for IIT JEE with this helpful app.">
<meta name="keywords" content="physics, revision, planner, IIT JEE, study, app">

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">

<link href="https://fonts.googleapis.com/css?family=Poppins:400,500,700" rel="stylesheet">

<script type="text/javascript">
try {
// App Javascript Goes Here. Place your entire script content inside the try block for error handling.

// This will run when the DOM is ready.
document.addEventListener("DOMContentLoaded", function() {
// Function to add a task to the revision plan
function addTask() {
var taskName = $("#taskName").val();
if (taskName) {
var taskItem = '<li class="list-group-item d-flex justify-content-between align-items-center">' +
taskName +
'<span class="badge bg-primary rounded-pill"><i class="fa fa-check"></i></span>' +
'</li>';
$("#taskList").append(taskItem);
$("#taskName").val("");
}
}

// Function to mark a task as completed
function markTaskComplete() {
$(this).toggleClass("text-decoration-line-through");
$(this).find(".fa").toggleClass("fa-check fa-times");
}

// Event listener for adding tasks
$("#addTaskButton").on("click", addTask);

// Event listener for marking tasks as completed
$(document).on("click", ".list-group-item", markTaskComplete);
});

} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>

<style>
body {
font-family: 'Poppins', sans-serif;
background-color: #f9f9f9;
}

h1 {
color: #333;
margin-bottom: 30px;
}

.card {
border: none;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.card-header {
background-color: #ffffff;
border-bottom: none;
}

.card-body {
padding: 20px;
}

.form-control {
border-radius: 5px;
border: 1px solid #cccccc;
}

.btn-primary {
background-color: #007bff;
border: none;
}

.btn-primary:hover {
background-color: #0069d9;
}

.badge {
cursor: pointer;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1>Physics Revision Planner - IIT JEE</h1>
<div class="card">
<div class="card-header">
<h5 class="card-title">Revision Plan</h5>
</div>
<div class="card-body">
<div class="input-group mb-3">
<input id="taskName" type="text" class="form-control" placeholder="Enter a task">
<button id="addTaskButton" class="btn btn-primary" type="button">Add Task</button>
</div>
<ul id="taskList" class="list-group">
</ul>
</div>
</div>
</div>
</body>
</html>