Posts by Lucas Pinafi • 21 points
2 posts
-
1
votes1
answer29
viewsA: How to create an id variable from a query result?
SELECT ROW_NUMBER() OVER(ORDER BY (SELECT 1)) AS id, name FROM breaking.characters WHERE sex='male'
sqlanswered Lucas Pinafi 21 -
1
votes1
answer37
viewsA: calculate the direction of touch (top || right || bottom || left)
I guess now that code solves: //elemento em que ocorrerá o touch swipe let area = document.querySelector("#area"); let centerPosition = { x:area.clientWidth/2, y:area.clientHeight/2 }; area.onclick…