Posts by Vitor Valandro • 76 points
4 posts
-
0
votes1
answer37
viewsA: Make an element grab the entire screen using Hover
You can use the property Transform with the value Scale to increase the size of the triangle. I also suggest including the property Transition to soften the effect. I don’t know if that’s right,…
-
1
votes1
answer39
viewsA: List saving values from last loop using Random at all positions
The problem is that when you create a shape array x_tes2 = [[0,0,0,0]]*numbers you’re multiplying the same list, copying and pasting it over and over again. That way, when you change any of the…
pythonanswered Vitor Valandro 76 -
0
votes1
answer25
viewsA: Open isolated dropdown with useState and useRef
Using useRef may not be the best choice, since useRef .Current may be confused when used with the same reference by other elements. In my opinion the best choice would be for you to create a single…
-
2
votes1
answer90
viewsA: Convert Real values to USD
If the result can be obtained in string, you can build a function like this: function realToDolar(num){ num = num.replace('.', ''); num = num.replace(',', '.'); return num } It formats the input…
javascriptanswered Vitor Valandro 76