Calculator Tools Calculator Tools
Create

Minha TV Favorita

Jan 3, 2024

About this app

Escolha a sua cor de TV favorita

Minha TV Favorita Escolha a sua cor de TV favorita: Azul Amarelo

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>Minha TV Favorita</title>
<meta name="description" content="Escolha a sua cor de TV favorita">
<meta name="keywords" content="TV, cor, azul, amarelo">

<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 {
// App Javascript Goes Here. Place your entire script content inside the try block for error handling.

// This will run when the DOM is ready.
document.addEventListener("DOMContentLoaded", function() {
// Function to redirect to rbt.com.br
function goToRbt() {
window.location.href = "https://rbt.com.br";
}

// Function to redirect to plimplim.tv
function goToPlimplim() {
window.location.href = "https://plimplim.tv";
}

// Click event for the blue button
$("#btn-blue").click(function() {
goToRbt();
});

// Click event for the yellow button
$("#btn-yellow").click(function() {
goToPlimplim();
});
});

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

<style>
/* App CSS Goes Here */
body {
background-color: #f1f1f1;
font-family: 'Arial', sans-serif;
}

.container {
text-align: center;
margin-top: 100px;
}

h1 {
font-size: 28px;
margin-bottom: 20px;
}

.btn {
font-size: 18px;
padding: 10px 20px;
margin-right: 10px;
border-radius: 5px;
cursor: pointer;
}

#btn-blue {
background-color: #3498db;
color: #fff;
border: none;
}

#btn-yellow {
background-color: #f1c40f;
color: #000;
border: none;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1>Escolha a sua cor de TV favorita:</h1>
<button id="btn-blue" class="btn">Azul</button>
<button id="btn-yellow" class="btn">Amarelo</button>
</div>
</body>
</html>