Compare commits
3 Commits
develop-br
...
develop-ga
| Author | SHA1 | Date | |
|---|---|---|---|
| f57fb1ad96 | |||
| f844ec08e1 | |||
| 1abee2abdf |
@@ -2,9 +2,5 @@
|
||||
for ($i = 10; $i >= 1; $i--) {
|
||||
echo "<h3> $i</h3>";
|
||||
}
|
||||
<<<<<<< HEAD
|
||||
?>
|
||||
=======
|
||||
echo $i;
|
||||
?>
|
||||
>>>>>>> origin/develop-marcos_assuncao
|
||||
|
||||
26
exemplos/gabriel_henrique/desafio-loja-virtual.php
Normal file
26
exemplos/gabriel_henrique/desafio-loja-virtual.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="pt-br">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Parcelamento da Loja</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h2>Desafio loja virtual</h2>
|
||||
|
||||
<?php
|
||||
|
||||
for ($i = 1; $i <= 12; $i++) {
|
||||
|
||||
if ($i <= 5) {
|
||||
echo $i . "x - <span style='color: green;'>Sem Juros</span><br>";
|
||||
} else {
|
||||
echo $i . "x - <span style='color: red;'>Com Juros</span><br>";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user