1st Review DBMS
1st Review DBMS
RAMAPURAM
FACULTY OF ENGINEERING AND TECHNOLOGY
DEPARTMENT OF INFORMATION TECHNOLOGY
BATCH NO: 12
.
REFERENCES
Books:
SILBERSCHATZ, A., KORTH, H. F., & SUDARSHAN, S. (2010).
BEIGHLEY, L. (2007).
HEAD FIRST SQL: YOUR BRAIN ON SQL -- A LEARNER'S GUIDE. O'REILLY MEDIA.
MARTIN, R. C. (2008).
<div class="container">
<h2>Personal Expense Tracker</h2>
<h3>Add Expense</h3>
<form id="expense-form">
<input type="text" id="expense-name" placeholder="Expense Name" required>
<input type="number" id="expense-amount" placeholder="Amount" required>
<select id="expense-category">
<option value="Food">Food</option>
<option value="Transport">Transport</option>
<option value="Shopping">Shopping</option>
<option value="Bills">Bills</option>
</select>
<button type="submit">Add Expense</button>
</form>
<h3>Expense List</h3>
<table>
<thead>
<tr>
<th>Name</th>
<th>Amount</th>
<th>Category</th>
<th>Action</th>
</tr>
</thead>
<tbody id="expense-list">
<!-- Expenses will be added here dynamically -->
</tbody>
</table>
</div>
<script>
document.getElementById('expense-form').addEventListener('submit', function(event) {
event.preventDefault();
document.getElementById('expense-form').reset();
});
function deleteRow(btn) {
let row = btn.parentElement.parentElement;
row.remove();
}
</script>
</body>
</html>
Future Enhancements