Ben 10 Omnitrix
About this app
Transform into different Ben 10 aliens with the Omnitrix app
Ben 10 Omnitrix Ben 10 Omnitrix
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>Ben 10 Omnitrix</title>
<meta name="description" content="Transform into different Ben 10 aliens with the Omnitrix app">
<meta name="keywords" content="Ben 10, Omnitrix, aliens, transformation">
<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() {
// Array of Ben 10 aliens
var aliens = [
"Heatblast",
"Four Arms",
"Diamondhead",
"XLR8",
"Wildvine",
"Upgrade",
"Ripjaws",
"Ghostfreak",
"Stinkfly",
"Grey Matter"
];
// Button click event handler
$("#transform-button").click(function() {
// Randomly select an alien from the list
var randomIndex = Math.floor(Math.random() * aliens.length);
var selectedAlien = aliens[randomIndex];
// Call the voice synthesis function to announce the selected alien
announceAlien(selectedAlien);
});
// Voice synthesis function
function announceAlien(alien) {
// Implement voice synthesis code specific to your chosen platform
// For example, on Android you can use the TextToSpeech API
// On iOS, you can use the AVSpeechSynthesizer class
// Configure the voice synthesis to announce the name of the selected alien
console.log("Transforming into " + alien);
}
});
} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>
<style>
/* App CSS Goes Here */
body {
background-color: #F2F2F2;
font-family: 'Roboto', sans-serif;
}
#main-container {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 50px;
}
h1 {
color: #333333;
margin-bottom: 30px;
}
.omnitrix {
width: 200px;
height: 200px;
background-color: #333333;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}
.omnitrix:before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
}
.omnitrix-button {
width: 70px;
height: 70px;
background-color: #FFDD00;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.3s ease-in-out;
cursor: pointer;
}
.omnitrix-button:hover {
transform: scale(1.1);
}
.omnitrix-button i {
font-size: 30px;
color: #333333;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1>Ben 10 Omnitrix</h1>
<div class="omnitrix">
<div id="transform-button" class="omnitrix-button">
<i class="fa fa-refresh"></i>
</div>
</div>
</div>
</body>
</html>
NEW APPS
These are apps made by the community!