Posts by Henrique Guirelli • 106 points
4 posts
-
0
votes1
answer187
viewsA: How to access a javascript object in another HTML page?
Try to use campo_matricula.innerHTML = text_matricula campo_nome.innerHTML = text_nome campo_ano.innerHTML = text_ano instead of : campo_matricula.appendChild(text_matricula);…
-
1
votes2
answers81
viewsA: Nodejs - Change the value of a vector in an if Else
in javascript we have more than just true and false values, we have Truthy and falsy, when you pass an empty json to the Object.values() function, it returns an array, if json is empty it will…
-
1
votes2
answers153
viewsA: Determine CSS property based on a javascript condition
The function getElementsByClassName returns multiple results while the getElementById returns only one. To work with the getElementsByClassName you must go through the list and change item by item.…
-
4
votes2
answers44
viewsA: Doubt about functions defined within constants
Let’s ask one question at a time. because the result of the expression below brings the value "Nan"? the function "ok" expects a parameter n and you are not passing any parameter, when you do not…
javascriptanswered Henrique Guirelli 106