Expense Tracker System CSS
Expense Tracker System CSS
Submitted by
Arpita Kailas Lengare
Snehal Aambadas Zurde
Affiliated to
Maharashtra State
Board of Technical Education
Certificate
This is to certify that Mr./Ms. Tanishka Pramod Patil with Roll No-57 has successfully completed Micro-project in
course 22519 - Client Side Scripting Language for the academic year -24 as prescribed in the 'Assessment
Manual'during his/her tenure of completing Fifth Semester of Diploma Programme in Computer Engineering
from institute, Sandip Polytechnic with institute code 1167.
Certificate
This is to certify that Mr./Ms. Pranjal Bhimrao Salve with Roll No-62 has successfully completed Micro-project
in course 22519 - Client Side Scripting Language for the academic year -24 as prescribed in the 'Assessment
Manual'during his/her tenure of completing Fifth Semester of Diploma Programme in Computer Engineering
from institute, Sandip Polytechnic with institute code 1167.
2. Analysis of data.
<div class="container">
<h4>Your Balance</h4>
<h1 id="balance">₹0.00</h1>
<div class="inc-exp-container">
<div>
<h4>Income</h4>
<p id="money-plus" class="money plus">+₹0.00</p>
</div>
<div>
<h4>Expense</h4>
<p id="money-minus" class="money minus">-₹0.00</p>
</div>
</div>
<h3>History</h3>
<ul id="list" class="list">
</ul>
:root {
--box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); }
*{
box-sizing: border-box;
}
body {
background-color: #f7f7f7; display: flex;
flex-direction: column; align-items: center;
justify-content: center; min-height: 100vh;
margin: 0;
font-family: 'Lato', sans-serif;
}
.container { margin: 30px auto;
width: 350px;
}
h1 {
letter-spacing: 1px; margin: 0;
}
h3 { border-bottom: 1px solid #bbb; padding-
bottom: 10px; margin: 40px 0 10px;
}
h4 { margin: 0;
text-transform: uppercase;
}
.money {
font-size: 20px; letter-spacing: 1px; margin: 5px 0;
}
.btn:focus,
.delete-btn:focus { outline: 0;
}
.list li {
background-color: #fff; box-shadow: var(--box-shadow);
color: #333; display: flex;
justify-content: space-between;
position: relative; padding: 10px; margin: 10px 0;
}
.list li.plus {
border-right: 5px solid #2ecc71;
}
.list li.minus {
border-right: 5px solid #c0392b;
}
.delete-btn { cursor: pointer; background-color:
#e74c3c;
border: 0; color: #fff; font-
size: 20px; line-height: 20px;
padding: 2px 5px; position:
absolute;
top: 50%; left: 0;
transform: translate(-100%, -50%); opacity: 0;
transition: opacity 0.3s ease;
}
transactions.push(transaction); addTransactionDOM(transaction);
updateValues() updateLocalStorage()
text.value = ''
amount.value = ''
}
}
item.innerHTML = `
${transaction.text} <span>${sign}${Math.abs(transaction.amount)}</span>
<button class="delete-btn" onclick="removeTransaction(${transaction.id})">x</button>
`;
list.appendChild(item);
}
const expense = (
amounts.filter(item => item < 0).reduce((acc, item) => (acc += item), 0) * 1).toFixed(2);
transactions.forEach(addTransactionDOM);
updateValues()
}
init();
form.addEventListener('submit', addTransaction);
5.0 Actual Resources Used:
Sr
Name of Resource/Material Specification Qty. Remarks
No
1 Hardware Resource Laptop 2GB Ram 1
2 Software Resource Notepad 1
3 Any Other Resource - -
(A) (B)
Total Marks
Process and Product Assessment Individual Presentation/Viva
(10 Marks)
(6 Marks) (4 Marks)
Dated Signature:
Annexure – IV
(A) (B)
Total Marks
Process and Product Assessment Individual Presentation/Viva
(10 Marks)
(6 Marks) (4 Marks)
Dated Signature: