Posts by Robert Almeida • 14 points
3 posts
-
0
votes2
answers201
viewsA: how to do console.log by clicking the button
When you called addeventlistener you did not specify which element should be observed. You can call the function directly on the TAG, it is not the most correct anymore works. <div…
javascriptanswered Robert Almeida 14 -
-1
votes1
answer100
viewsA: Write user to firebase database
Change the code snippet: user.uid = newUser.uid For: useruid = newUser.key
-
0
votes1
answer129
viewsA: How to query by passing an array per parameter in the firestore?
let filtro = [] // Filtro com os parâmetros selecinados filtro.map((element) => { firebase.firestore().collection("pedidos").where("condicaoPagamento", "==", element) …