Escolar Documentos
Profissional Documentos
Cultura Documentos
write(“<br>”)
<!DOCTYPE html>
<html>
<head>
<style>
.roleta {
width: 200px;
height: 200px;
border-radius: 50%;
position: relative;
.numero {
position: absolute;
width: 30px;
height: 30px;
text-align: center;
line-height: 30px;
color: white;
border-radius: 50%;
.escolhido {
}
@keyframes piscar {
</style>
</head>
<body>
<h2>Roleta Realista</h2>
</div>
<button onclick="escolherNumero()">Escolher</button>
var escolha;
function girar() {
setTimeout(function() {
if (resultado == escolha) {
} else {
}, (1000/roleta.length));
function escolherNumero() {
escolha = document.getElementById("escolha").value;
if (numeros[i].innerHTML == escolha) {
numeros[i].classList.add("escolhido");
} else {
numeros[i].classList.remove("escolhido");
}
function girarRoleta() {
return roleta[indice];
</script>
</body>
</html>