Calculator Tools Calculator Tools
Create

Quem passou mais na Globo?

Jan 5, 2024

About this app

Descubra quem passou mais na Globo: JunyTony ou PinkFong em pt-br

Quem passou mais na Globo? Quem passou mais na Globo?

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>Quem passou mais na Globo?</title>
<meta name="description" content="Descubra quem passou mais na Globo: JunyTony ou PinkFong em pt-br">
<meta name="keywords" content="Globo, JunyTony, PinkFong, pt-br">

<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">

<script type="text/javascript">
try {
// This will run when the DOM is ready.
document.addEventListener("DOMContentLoaded", function() {
// Function to fetch the number of times JunyTony appeared on Globo
function getJunyTonyCount() {
// Simulating an API request to get the count
let junyTonyCount = 42;
return junyTonyCount;
}

// Function to fetch the number of times PinkFong appeared on Globo
function getPinkFongCount() {
// Simulating an API request to get the count
let pinkFongCount = 28;
return pinkFongCount;
}

// Function to compare the counts and display the result
function compareCounts() {
let junyTonyCount = getJunyTonyCount();
let pinkFongCount = getPinkFongCount();

let resultText = "";
if (junyTonyCount > pinkFongCount) {
resultText = "JunyTony passou mais na Globo!";
} else if (junyTonyCount < pinkFongCount) {
resultText = "PinkFong passou mais na Globo!";
} else {
resultText = "JunyTony e PinkFong passaram a mesma quantidade na Globo!";
}

// Displaying the result on the page
$("#result").text(resultText);
}

// Calling the compareCounts function to get and display the result
compareCounts();
});

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

<style>
body {
background-color: #f0f0f0;
font-family: 'Arial', sans-serif;
text-align: center;
padding-top: 50px;
}

h1 {
font-size: 24px;
font-weight: bold;
color: #333;
margin-bottom: 20px;
}

.result-text {
font-size: 18px;
color: #333;
margin-top: 20px;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1>Quem passou mais na Globo?</h1>
<p class="result-text" id="result"></p>
</div>
</body>
</html>