Posts by Caio Vieira • 27 points
4 posts
-
-1
votes4
answers91
viewsA: How to transform a "for" repeat code into "while" in Javascript?
To turn into while, you need to create a counter in hand, example: let i = 0; white(i<=10){ console.log(i); i = i + 1 }
-
0
votes2
answers133
viewsA: Git Push repository problem (with other people)
First of all you should commit your changes with the following commands: git add . git commit -m "mensagem" And then use the command: git pull origin main If you are using vs code, the changes will…
-
0
votes1
answer62
viewsQ: Difference between Dockerfile and Docker-Compose
I’m having doubts about the images. I understood the part that Dockerfile creates the image and that Docker-Compose manages the images that will be used in that application but why I have to create…
-
1
votes1
answer778
viewsQ: What is the difference between "querySelector" and "querySelectorAll"?
I need some help to understand how the querySelector and the querySelectorAll, I’m used to using jquery selectors with the $(), but when I use the querySelector it returns me only the first element…
javascriptasked Caio Vieira 27