Posts by Juliano Henrique • 271 points
11 posts
-
1
votes1
answer199
viewsQ: How do I get my svg moving free in a background?
I have javascript animated path and want to move it freely through the background of my <body> so that this path exceeds the maxwidth it automatically appears on the opposite side (as a…
-
0
votes1
answer54
viewsQ: getNextDataRange() from google Spreadsheatapp bug?
Hello I came across the following situation: I just need to use a class method Selection from Google Spreadsheetapp in an enabled selection, but it is bringing the following bug: ReferenceError:…
-
0
votes1
answer49
viewsQ: How do I gain access to a variable from another scope?
P5 is a canvas creation and animation lib. I got an error when I couldn’t find a variable from a constructor function "sister". Looking at the sk.draw() Function, the error occurs when this function…
javascriptasked Juliano Henrique 271 -
6
votes1
answer63
viewsQ: How do I create a new method for a constructor?
There is a Date constructor (which is the date constructor that already comes in JS), and I would like to create a lastYear() method that brings the "year = year-1" (for example and learning…
javascriptasked Juliano Henrique 271 -
0
votes2
answers44
viewsQ: Doubt about functions defined within constants
Execute: function ok(n) { return console.log(n + 2); } console.log('porque o resultado da expressão abaixo trás o valor "NaN"?'); console.log('const minhaConstEumaFuncao = ok(), result: ') const…
javascriptasked Juliano Henrique 271 -
1
votes1
answer75
viewsA: Problems with bootstrap responsiveness
Understanding the concept of rows and columns on the grid you can have a better understanding of how to assemble your layouts so that the responsiveness is not deformed. In your code you created a…
-
1
votes1
answer28
viewsQ: Question about class integration in React Javascript components
I’m having difficulty interacting a class with a component using React. To create a constructor, where the new "classe" would be inserted into my React Dom component. Simple example below: there is…
-
4
votes1
answer41
viewsQ: Lexically, what happens when we return a variable within a method that is declared in the function of that method?
Someone helps me understand the context of the execution of this code? myVar is declared in Global; myVar is declared in a(); b() is executed and myVar is declared in b(); myVar is not found in c():…
-
0
votes1
answer52
viewsQ: how do I handle DOM with Foreach using HTML Collection iteration correctly?
I’m having trouble creating elements dynamically. I just start the code and nothing happens in the DOM. There is an HTML Collection within parentObject that would be iterated 8 times inside the…
-
0
votes1
answer176
viewsQ: Problem activating the Virutal environment with pipenv
When I opened the powershell inside Visual Studio Code, first, there was an error that the script execution had been disabled, I went to the windows powershell and changed the execution policy.…
-
1
votes2
answers630
viewsQ: How can I create sequence and math series functions in python?
How can I get the interpreter to understand what the previous value of a mathematical function is, for example: "Xn = 3.7(Xn-1)" where "n-1" means the result of the previous loop operation. Kind of…