Calculator Tools Calculator Tools
Create

Super Marathon - Your Ultimate Running Companion

Dec 1, 2025

About this app

Join the Super Marathon app today to track your runs, log your progress, and compete with friends in fun challenges!

Super Marathon - Your Ultimate Running Companion Super Marathon Track your runs and log your progress! Add Run Your Runs

Related apps

Put this on your site

Source

                    <html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">

<title>Super Marathon - Your Ultimate Running Companion</title>
<meta name="description" content="Join the Super Marathon app today to track your runs, log your progress, and compete with friends in fun challenges!">
<meta name="keywords" content="marathon, running, fitness, tracker, challenges, progress">

<!-- Libraries -->
<!-- jQuery (3.6.0) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js" crossorigin="anonymous"></script>
<!-- Bootstrap CSS (5.3.3) -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" crossorigin="anonymous">
<!-- Bootstrap JS (5.3.3) -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" crossorigin="anonymous"></script>
<!-- Font Awesome (6.6.0) -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.6.0/css/fontawesome.min.css" crossorigin="anonymous">

<script type="text/javascript">
try {
document.addEventListener("DOMContentLoaded", function() {
const runLog = [];

function addRun(distance, time, date) {
runLog.push({ distance, time, date });
displayRuns();
}

function displayRuns() {
const runList = document.getElementById("run-list");
runList.innerHTML = "";
runLog.forEach((run, index) => {
const li = document.createElement("li");
li.className = "list-group-item d-flex justify-content-between align-items-center";
li.innerHTML = `${run.distance} km in ${run.time} min on ${run.date} <button class="btn btn-danger btn-sm" onclick="removeRun(${index})"><i class="fas fa-trash-alt"></i></button>`;
runList.appendChild(li);
});
}

window.addRun = () => {
const distance = document.getElementById("distance").value;
const time = document.getElementById("time").value;
const date = new Date().toLocaleDateString();
if (distance && time) {
addRun(distance, time, date);
document.getElementById("distance").value = "";
document.getElementById("time").value = "";
}
}

window.removeRun = (index) => {
runLog.splice(index, 1);
displayRuns();
}
});
} catch (error) {
throw error;
}
</script>

<style>
body {
background: linear-gradient(to bottom right, #6a11cb, #2575fc);
color: #fff;
}
#main-container {
padding: 30px;
}
.list-group-item {
background-color: rgba(255, 255, 255, 0.1);
transition: background-color 0.3s;
}
.list-group-item:hover {
background-color: rgba(255, 255, 255, 0.2);
}
button {
background-color: #ff4e50;
border: none;
}
button:hover {
background-color: #fc4a1a;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1 class="text-center">Super Marathon</h1>
<p class="text-center">Track your runs and log your progress!</p>
<div class="mb-4">
<input type="number" id="distance" placeholder="Distance (km)" class="form-control" required>
<input type="number" id="time" placeholder="Time (minutes)" class="form-control mt-2" required>
<button onclick="addRun()" class="btn btn-primary mt-2">Add Run</button>
</div>
<h2>Your Runs</h2>
<ul id="run-list" class="list-group"></ul>
</div>
</body>
</html>