Posts by Tomás Lopes • 44 points
3 posts
-
1
votes1
answer45
viewsA: React Navigation | How to use Navigation inside an React component?
You need to split your application. Browsing is a distinct part of rendering and should not even be in the same files. If the goal is to have a tabs navigation you have specific documentation for it…
-
1
votes1
answer62
viewsA: How to edit a javascript clock to change the team color at specific times
I think this will work. setInterval(myTimer2, 1000); const colorChangeHoursBegin = 0; const colorChangeHoursEnd = 6; const colorChangeMinutesBegin = 0; const colorChangeMinutesEnd = 45; function…
javascriptanswered Tomás Lopes 44 -
0
votes2
answers57
viewsA: how to last values of a variable in several different functions, in javascript,
It would be better to structure the code in a different way. Note that the lines: var valor1 = document.getElementById("formValor1").value; var valor2 = document.getElementById("formValor2").value;…