Skip to content

Commit

Permalink
salvar
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruna096 authored Oct 25, 2023
1 parent a38cc94 commit e817310
Showing 1 changed file with 36 additions and 3 deletions.
39 changes: 36 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e817310

Please sign in to comment.