MPT__Micro_Project_Report_Format[1]
MPT__Micro_Project_Report_Format[1]
On
DAILY ACTIVITY TASK
Group Members
Sr. No. Enrollment Number Name
1 236020307163 Pipaliya Dharmik DevrajBhai
2 236020307172 Ramanuj Jay BhagirathBhai
3 236020307173 Ramavat Milan BharatBhai
4 236020307191 Sarodia Ansh BhaveshBhai
5 236020307216 Vadher Sumit VikramBhai
Index
Sr. No. Topic Name
2 Abstract
3 Coding
4 Output Screenshots
Introduction To Daily Activites Task
In today’s fast-paced world, effective time management and organization are
crucial for both personal and professional success. To address this need, our
project presents a Daily Activities Task Management application that enables users
to manage their everyday tasks with ease. The core features of the application
include the ability to add new tasks with specific dates, update existing tasks as
plans change, and delete tasks that are no longer relevant. This digital to-do list is
designed to simplify daily planning, reduce forgetfulness, and enhance
productivity. Whether for students, professionals, or anyone looking to better
organize their day, this application serves as a practical and efficient tool for
managing daily responsibilities.
Abstract
This project focuses on the development of a Daily Activities Task Management
System, designed to help users efficiently manage their day-to-day activities. The
application allows users to add, update, and delete tasks based on specific dates,
making daily planning and productivity tracking more organized and effective. The
system provides a simple, user-friendly interface to ensure seamless task
management, whether for personal routines, work schedules, or academic
assignments. By maintaining a clear and editable list of daily tasks, users are
empowered to stay on top of their responsibilities and boost their time
management skills.
CODE:
app.component.ts
import { Component } from '@angular/core';
interface Task {
title: string;
completed: boolean;
@Component({
selector: 'app-root',
standalone: true,
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
};
getToday(): string {
addTask() {
if (title) {
if (!this.tasksByDate[this.selectedDate]) {
this.tasksByDate[this.selectedDate] = [];
this.tasksByDate[this.selectedDate][this.editIndex].title = title;
this.editIndex = null;
} else {
this.newTask = '';
toggleTask(index: number) {
this.tasks[index].completed = !this.tasks[index].completed;
deleteTask(index: number) {
this.tasks.splice(index, 1);
this.newTask = '';
editTask(index: number) {
this.newTask = this.tasks[index].title;
this.editIndex = index;
cancelEdit() {
this.newTask = '';
this.editIndex = null;
onDateChange(event: Event) {
this.selectedDate = input.value;
this.newTask = '';
this.editIndex = null;
} }
App.component.html
<div class="container">
<div class="date-picker">
</div>
<div class="input-group">
<button (click)="addTask()">
</button>
Cancel
</button>
</div>
<ul>
<div class="task-item">
</div>
<div class="actions">
</div>
</li>
</ul>
</div>
app.component.css
.container {
max-width: 500px;
padding: 30px;
background: #ffffff;
border-radius: 10px;
text-align: center;
h1 {
color: #343a40;
margin-bottom: 20px;
.date-picker {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
margin-bottom: 20px;
.input-group {
display: flex;
gap: 10px;
margin-bottom: 20px;
justify-content: center;
input[type="text"],
input[type="date"] {
padding: 10px;
border-radius: 5px;
font-size: 16px;
input[type="text"] {
width: 60%;
button {
border: none;
border-radius: 5px;
background-color: #0d6efd;
color: white;
font-size: 14px;
cursor: pointer;
button:hover {
background-color: #084298;
}
.cancel-btn {
background-color: #6c757d;
ul {
list-style: none;
padding: 0;
li {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 0;
.task-item {
display: flex;
align-items: center;
gap: 10px;
flex: 1;
.completed {
text-decoration: line-through;
color: #6c757d;
.actions button {
margin-left: 5px;
background-color: #198754;
.actions .delete-btn {
background-color: #dc3545;
.actions button:hover {
opacity: 0.85;
app.module.ts
import { NgModule } from '@angular/core';
@NgModule({
declarations: [
AppComponent,
],
imports: [
BrowserModule,
FormsModule,
],
providers: [],
bootstrap: [AppComponent]
})
THANK YOU 😊