From 781602af9328c719555727de8565a702eb61df01 Mon Sep 17 00:00:00 2001 From: 2024 - Gabriel Henrique Date: Thu, 21 May 2026 21:13:49 -0300 Subject: [PATCH] Desafio for --- exemplos/gabriel_henrique/desafio-for.php | 33 +++++++++++++++++++++++ exemplos/gabriel_henrique/for.php | 5 ++++ 2 files changed, 38 insertions(+) create mode 100644 exemplos/gabriel_henrique/desafio-for.php create mode 100644 exemplos/gabriel_henrique/for.php diff --git a/exemplos/gabriel_henrique/desafio-for.php b/exemplos/gabriel_henrique/desafio-for.php new file mode 100644 index 0000000..4784fcc --- /dev/null +++ b/exemplos/gabriel_henrique/desafio-for.php @@ -0,0 +1,33 @@ + + + + + Contagem Regressiva + + + + += 1; $i--) { + + // Destacar os 3 últimos segundos + if ($i <= 3) { + echo "

$i

"; + } else { + echo "

$i

"; + } +} + +// Mensagem final +echo "

FOGUETE LANÇADO!

"; + +?> + + + \ No newline at end of file diff --git a/exemplos/gabriel_henrique/for.php b/exemplos/gabriel_henrique/for.php new file mode 100644 index 0000000..a974b6c --- /dev/null +++ b/exemplos/gabriel_henrique/for.php @@ -0,0 +1,5 @@ +"; +} +?> \ No newline at end of file