Posts by Sanderson Milagres • 46 points
5 posts
-
0
votes1
answer38
viewsA: Refresh page when making BD changes
I solved this problem by entering it into the database using the.IO socket instead of using the express routes: socket.on('sendMessage', ({ author, message }) => { connection.query('INSERT INTO…
-
0
votes1
answer50
viewsA: Problem identifying triangle in Java
You can do it this way: if (x == y && x == z){ System.out.println("Três lados iguais . Trata-se de um Triangulo Equilatero"); }else if(x == y || x == z || y==z ){ System.out.println("Dois…
javaanswered Sanderson Milagres 46 -
0
votes1
answer38
viewsQ: Refresh page when making BD changes
Goal My final project involves making a chat room; the user must enter a message, this message is handled in the server.js(Node.js file) and inserted into the database. The page should then be…
-
-1
votes1
answer894
viewsQ: Cannot POST express error
I’m trying to create a login system, follow my form: <form action="/auth" class="login-form" method="POST"> <h1>Login</h1> <div class="txtb"> <input type="text"…
-
1
votes1
answer104
viewsQ: How to change the value of a button to the value of an array?
I tried to use getElementeById but it’s not working. HTML Quiz <div class="buttons"> <!--Creating four button element for four options--> <button id="btn0"><span…
javascriptasked Sanderson Milagres 46