Posts by Luiz Antônio • 29 points
5 posts
-
0
votes1
answer148
viewsQ: Shuffle array typed by the user in javascript?
I want the user to type numbers in the array and, at the click of the button, the paragraph shows the array he typed, but scrambled. The code below does not work, only if it is a fixed array, type :…
javascriptasked Luiz Antônio 29 -
1
votes0
answers49
viewsQ: How to display histogram in a Jpanel?
The main program, whose code I didn’t put here, has a button that opens this frame, whose code is down here. I want to display a histogram within that frame. import java.awt.BorderLayout; import…
-
0
votes2
answers108
viewsQ: How to make INNER JOIN between two tables?
I need to join the fields of the table "employees" and "clients". The problem is that the data repeats,: I believe it has something to do with a foreign key and a primary key. The first "name" field…
mysqlasked Luiz Antônio 29 -
1
votes4
answers235
viewsQ: Setinterval calling function only once?
I want the Divs to move -50px to the left every 03 seconds. I used setInterval but it only runs the function once. setInterval(function(){ document.querySelector('.filho').classList.add("ativado");…
javascriptasked Luiz Antônio 29 -
0
votes1
answer96
viewsQ: Old-fashioned logic error in Javascript?
I am learning Javascript and want to make an old game to train. The game is not working and I think it may be a logic error. function verificar(elemento) { var teste =…
javascriptasked Luiz Antônio 29