Posts by Paulo Ricardo Alves Campos • 26 points
3 posts
-
0
votes2
answers201
viewsA: how to do console.log by clicking the button
Well you can ultilizar the onclick for that! It’s very simple, see an example: <button id="meu-botao" class="meu-botao" onclick="console.log('O que você deseja imprimir no…
javascriptanswered Paulo Ricardo Alves Campos 26 -
0
votes3
answers1138
viewsA: What do I put in the gitignore?
Well, in gitignore you can add files that won’t be needed in the repository, such as module folder, test files etc. This file basically serves to make your day easier, Voce doesn’t need to send…
-
0
votes2
answers595
viewsA: How does toString work in Javascript?
Well, the method toString() converts Javascript values to strings. In your case, return the sum value to string. For the value original is a number. Examples Using a boolean value const valor = true…