30888-vm/index.php
Flatlogic Bot ee9f85b995 v1
2025-09-19 12:37:54 +00:00

72 lines
3.6 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Interactive Loan Calculator</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap" rel="stylesheet">
</head>
<body>
<div class="hero">
<div class="container">
<h1 class="display-4">Loan Calculator</h1>
<p class="lead">Estimate your monthly loan payments instantly.</p>
</div>
</div>
<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-lg-8">
<div class="calculator-card">
<div class="row align-items-center">
<div class="col-md-6">
<form>
<div class="mb-3">
<label for="loanAmount" class="form-label">Loan Amount ($)</label>
<input type="number" class="form-control" id="loanAmount" value="25000">
</div>
<div class="mb-3">
<label for="interestRate" class="form-label">Annual Interest Rate (%)</label>
<input type="number" class="form-control" id="interestRate" value="5">
</div>
<div class="mb-3">
<label for="loanTerm" class="form-label">Loan Term (Years)</label>
<input type="number" class="form-control" id="loanTerm" value="10">
</div>
</form>
</div>
<div class="col-md-6 text-center">
<h4>Monthly Payment</h4>
<p id="monthlyPayment" class="display-5">$0.00</p>
<img src="assets/images/pexels/5921560.jpg" class="img-fluid rounded" alt="A close-up of a calculator and a pen on a desk.">
</div>
</div>
</div>
</div>
</div>
<div class="row mt-5">
<div class="col-md-6">
<h2>Plan Your Finances</h2>
<p>Use our loan calculator to understand how your loan works. See how different loan terms and interest rates can affect your monthly payments and help you budget accordingly.</p>
<img src="assets/images/pexels/1602726.jpg" class="img-fluid rounded" alt="A piggy bank with coins, symbolizing savings from a good loan.">
</div>
<div class="col-md-6">
<img src="assets/images/pexels/8292854.jpg" class="img-fluid rounded" alt="A person reviewing financial documents, illustrating the concept of a loan.">
</div>
</div>
</div>
<footer class="text-center py-4 mt-5 bg-light">
<p>&copy; <?php echo date("Y"); ?> Your Company. All rights reserved.</p>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
</body>
</html>