Posts by Pedro Roweder • 142 points
8 posts
-
0
votes3
answers93
viewsA: How to remove the image attribute?
You can use the .remove(); in this way: $(".img-js").remove(); Jquery Remove() and Empty() In the example I used the classe from the image to the selection, since it did not have a ID, but it is…
-
1
votes1
answer57
viewsA: Show as many possible combinations
You can do it this way: #include <stdio.h> #include <math.h> void main() { int y, numero; printf("quantos digitos tem sua senha: "); scanf("%d", &numero); y = pow(10,numero);…
canswered Pedro Roweder 142 -
1
votes3
answers36
viewsA: Styling in menus
To refer to item publicar anuncio in css, you should do this way: .pub { border: 1px solid black; border-radius: 100%; } In this example, you would leave a black border, of 1px, with 100% of radius,…
-
3
votes2
answers583
viewsA: Error onclick Javascript
HTML error It is a syntactic error, because the attribute onclick is not valid for the tag input. More about tag properties input here:…
-
2
votes3
answers109
viewsA: How to put 0.5s Transition in Tooltips
Use the property transition, in this way: Transition: propriedade tempo; ex: I want to transition the opacity in 0.5 seconds: .tooltip-white span { opacity: 0.8; transition: opacity 500ms; }…
-
1
votes2
answers160
viewsA: Job Seekers Information Filter
Your code is rewriting the same variables every time you go through your do-while, to solve your problem, you must store the values in a array, or any other kind of list if you prefer. Currently,…
-
0
votes2
answers980
viewsA: Function that converts dollars to real, Mexican pesos and Chilean pesos
Jeh, you are using a constant to multiply by the exchange rate, so your value is always equal! To solve your problem, you must use the variable that is received in the function, which in your case…
-
0
votes1
answer38
viewsA: Problems with logic in a program
Paul, to use the command cont++, the variable must have been initialized first. To solve the problem, simply initialize the variable at the beginning of the code, as zero for example: cont = 0;…