Pop It Eletrônico
About this app
Pop It Eletrônico - Um divertido jogo de estourar bolhas
Pop It Eletrônico
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>Pop It Eletrônico</title>
<meta name="description" content="Pop It Eletrônico - Um divertido jogo de estourar bolhas">
<meta name="keywords" content="pop it, eletrônico, bolhas, jogo, diversão">
<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() {
// Create an array of shapes
var shapes = ['⚀', '⚁', '⚂', '⚃', '⚄', '⚅', '☙'];
// Generate random colors
function generateRandomColor() {
var letters = '0123456789ABCDEF';
var color = '#';
for (var i = 0; i < 6; i++) {
color += letters[Math.floor(Math.random() * 16)];
}
return color;
}
// Generate random shape and color
function generateRandomShape() {
var randomIndex = Math.floor(Math.random() * shapes.length);
var randomShape = shapes[randomIndex];
var randomColor = generateRandomColor();
return '<span style="color: ' + randomColor + ';">' + randomShape + '</span>';
}
// Add shapes to the app container
var appContainer = document.getElementById('main-container');
for (var i = 0; i < 50; i++) {
var shape = generateRandomShape();
appContainer.innerHTML += shape;
}
});
} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>
<style>
/* App CSS Goes Here */
body {
background-color: #f7f7f7;
font-family: 'Arial', sans-serif;
text-align: center;
}
#main-container {
margin-top: 100px;
font-size: 48px;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
span {
margin: 10px;
cursor: pointer;
transition: transform 0.3s;
}
span:hover {
transform: scale(1.2);
}
</style>
</head>
<body>
<div id="main-container" class="container">
<!-- App HTML Goes Here -->
</div>
</body>
</html>
NEW APPS
These are apps made by the community!