Loan Calculator
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
justify-content: center;
align-items: center;
height: 100vh;
}
.calculator-container {
background-color: #fff;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
padding: 20px;
text-align: center;
}
h1 {
color: #333;
}
label {
display: block;
margin-top: 10px;
}
input[type=”number”] {
width: 100%;
padding: 10px;
margin-top: 5px;
border: 1px solid #ccc;
border-radius: 4px;
}
button {
background-color: #007BFF;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
margin-top: 20px;
}
button:hover {
background-color: #0056b3;
}
#result {
font-weight: bold;
margin-top: 20px;
}
Loan Calculator