From 43baf5092cf81cad38bd39f59450eebee99f0bdd Mon Sep 17 00:00:00 2001 From: Gabriel Ferraz Date: Fri, 4 Nov 2022 13:59:00 -0300 Subject: [PATCH] =?UTF-8?q?(Aula2):=20resolu=C3=A7=C3=A3o=20dos=20te?= =?UTF-8?q?stes=20propostos=20na=20atividade?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Aula1.html | 4 +--- Aula2.html | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 53 insertions(+), 6 deletions(-) diff --git a/Aula1.html b/Aula1.html index e045278..ccd9fb9 100644 --- a/Aula1.html +++ b/Aula1.html @@ -50,9 +50,7 @@ const segundosHora = minutos * segundos; const segundosDia = 24 * segundosHora; const resultado = segundosDia * 7; - console.log( - `Uma hora tem ${segundosHora} segundos. Um dia tem ${segundosDia} segundos. Uma semana tem ${resultado} segundos` - ); + `Uma hora tem ${segundosHora} segundos. Um dia tem ${segundosDia} segundos. Uma semana tem ${resultado} segundos`; } calcular(); diff --git a/Aula2.html b/Aula2.html index 8653161..48c2025 100644 --- a/Aula2.html +++ b/Aula2.html @@ -12,18 +12,67 @@ Um texto tem 20 dígitos , a cada 2 dígitos tem um número 0 , os dígitos são letras aleatórias , faça isso com javascript.

- +

TESTE 2

Um dia tem 24 horas, quantos segundos tem em uma semana? faça em javascript

- +

TESTE 3

uma array contendo 40 numeros aleatórios, retornar somente os números pares divisíveis por 5, faça isso em javascript.

- +