Posts by Leo Vargas • 72 points
5 posts
-
2
votes3
answers1169
viewsA: Vector sum problem in C
In C the initial position of a vector is 0 and the last position is n-1, n being the set size for the vector. Therefore, the error of your code is trying to insert at position 5, and that position…
-
1
votes1
answer69
viewsA: error importing module
Hello, are you sure that team.js is in the same directory?? Because I did not find any error, and also can not forget that when it is called a function must be put before the name of the function…
javascriptanswered Leo Vargas 72 -
0
votes3
answers185
viewsA: Use Jquery to swap text
The error is that it was not well specified for jQuery which element you want to manipulate. Therefore, as the service is a class should be placed "." inside the jQuery selector. And missed to…
-
1
votes2
answers39
viewsA: I need to create a shape via css so that the user knows he has selected a button
To do this type of event via CSS I don’t know. But with jQuery you can do so: #btn-click{ background-color: blue; padding: 10px; } <script…
-
0
votes3
answers378
viewsA: Get Mongo field value as Variable?
Man... it works like a charm for me. But by way of syntax, put the name of the field of your collection between single quotes and the value to be searched in double quotes, like this: let teste =…