Posts by Lucas Pires • 65 points
7 posts
-
4
votes2
answers77
viewsQ: How to Make an Onclick on all Page Images?
I would like to know how to, when clicking on ANY image on the page, activate a function. I tried it in the following ways: 1- var imagez = document.getElementsByTagName('img'); imagez.onclick = ()…
-
0
votes1
answer166
viewsQ: concatenate a link in a Map
I receive data from an API of The Movie DB, of which I must take an image link,the movie poster. The problem is that the data of this image only generates me half the link. Code: class…
-
0
votes2
answers278
viewsQ: CHANGE PATH WINDOWS 7
Hello, to boot my Flutter course, one of the requirements is to change the windows path to 'flutter bin'. The problem is that my PATH already has a value and when I click on "edit", there is no list…
-
0
votes3
answers179
viewsQ: Value of a variable becomes the id value
business is as follows: I want to play a value of a js variable to become the id of a div in html. <script>var x= 3;</script> <div id = "{x}"></div> above is a visual example…
-
0
votes1
answer52
viewsQ: Push in an Array made by Drag and Drop
I have two Ivs, one (div2) that contains 4 images that will be dragged to another div(div1) that has a fixed image. My need is to play the ID values of each image within an array called Answer in…
-
1
votes1
answer255
viewsQ: Drag and Drop eating images
I have a drag-and-drop problem. I have two Ivs, one with images that will be played to another div that has 1 specific image that cannot be moved. But when I drop on an image (both specific and…
-
0
votes2
answers538
viewsQ: Countdown js
I have a code that counts backwards from 20 to 0. At that time, the user has to do certain tasks and when completed, he presses a button. The minute he pushes the button, the counter has to stop at…
javascriptasked Lucas Pires 65