Calculator Tools Calculator Tools
Create

Score Calculator App

Sep 9, 2023

About this app

A fun and colorful score calculator app

Score Calculator App 🚀 Score Calculator 🚀 Enter your age, education and language scores to calculate your total score Calculate Score 🚀

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>Score Calculator App</title>
<meta name="description" content="A fun and colorful score calculator app">
<meta name="keywords" content="score, calculator, app">

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Shadows+Into+Light&display=swap" rel="stylesheet">

<script type="text/javascript">
try {
// This will run when the DOM is ready.
document.addEventListener("DOMContentLoaded", function() {
function calculateScore() {
var age = parseInt(document.getElementById('age').value);
var education = parseInt(document.getElementById('education').value);
var language = parseInt(document.getElementById('language').value);

var score = age + education + language;
document.getElementById('score').innerHTML = "Your score is: " + score;
}

document.getElementById('calculate').addEventListener('click', calculateScore);
});

} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>

<style>
body {
font-family: 'Shadows Into Light', cursive;
background: #f8efd4;
}

#main-container {
text-align: center;
padding: 50px;
}

button {
background-color: #f9a602;
border: none;
color: white;
text-align: center;
display: inline-block;
font-size: 16px;
transition-duration: 0.4s;
cursor: pointer;
}

button:hover {
background-color: #ffdb4d;
color: black;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1>🚀 Score Calculator 🚀</h1>
<p>Enter your age, education and language scores to calculate your total score</p>
<input id="age" type="number" min="0" max="100" placeholder="Age (0 - 100)">
<input id="education" type="number" min="0" max="100" placeholder="Education (0 - 100)">
<input id="language" type="number" min="0" max="100" placeholder="Language (0 - 100)">
<button id="calculate">Calculate Score 🚀</button>
<h2 id="score"></h2>
</div>
</body>
</html>