From e817310af854caee22eaec032379ba2eb3537326 Mon Sep 17 00:00:00 2001 From: Bruna <108538735+Bruna096@users.noreply.github.com> Date: Wed, 25 Oct 2023 12:22:49 -0300 Subject: [PATCH] salvar --- main.js | 39 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git a/main.js b/main.js index 3562a1c..ea2c6f1 100644 --- a/main.js +++ b/main.js @@ -62,9 +62,42 @@ function tocaSomTom () { document.querySelector(".tecla_Tom").onclick = tocaSomTom; */ -function tocaSomPom () { -document.querySelector("#Som_Tecla_Pom").play(); -} +//20/10 variáveis +function tocaSomTom () { + document.querySelector("#Som_Tecla_pom").play(); + } + +function tocaSomTom () { + document.querySelector("#Som_Tecla_clap").play(); + } + +function tocaSomTom () { + document.querySelector("#Som_Tecla_tim").play(); + } + +function tocaSomTom () { + document.querySelector("#Som_Tecla_puff").play(); + } + +function tocaSomTom () { + document.querySelector("#Som_Tecla_splash").play(); + } + +function tocaSomTom () { + document.querySelector("#Som_Tecla_toim").play(); + } + +function tocaSomTom () { + document.querySelector("#Som_Tecla_psh").play(); + } + +function tocaSomTom () { + document.querySelector("#Som_Tecla_tic").play(); + } + +function tocaSomTom () { + document.querySelector("#Som_Tecla_tom").play(); + } const listaDeTeclas = document.querySelectorAll('.tecla') listaDeTeclas[0].onclick = tocaSomPom;