Skip to content

Commit 1e9beef

Browse files
Site
1 parent ded6ad6 commit 1e9beef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<script src="https://cdnjs.cloudflare.com/ajax/libs/brython/3.10.7/brython_stdlib.min.js"></script>
77
<style>
88
body {
9-
transition: background 2s ease; /* Suaviza a troca de cores */
9+
transition: background 2 ease; /* Suaviza a troca de cores */
1010
display: flex;
1111
flex-direction: column;
1212
align-items: center;
@@ -78,7 +78,7 @@ <h2 id="counter" style="font-size: 48px;">0</h2>
7878
# Inicia a primeira cor
7979
change_color()
8080
# Define o intervalo: 10000 milissegundos = 10 segundos
81-
timer.set_interval(change_color, 10000)
81+
timer.set_interval(change_color, 5)
8282

8383
# --- CONSOLE LOG ---
8484
current_time = int(time.strftime('%H'))

0 commit comments

Comments
 (0)