Posts by Dimitrius Lachi • 171 points
5 posts
-
1
votes4
answers1217
viewsA: Multiple choice question
I think there’s a mistake in how you’re using the ternary operator: resposta == value ? mensagem = "Parabéns, Acertou!" : mensagem = "Resposta errada, tente novamente"; Try changing this to: mesagem…
-
0
votes3
answers101
viewsA: My Javascript code to change visibility does not work
You’re hiding the radio button label, not the CPF/CPNJ input. Try to change your role radio_pessoa_change function radio_pessoa_change() { var pfis =…
-
1
votes2
answers184
viewsA: Exchange object values from the api?
I recommend if possible, you apply this change to your api, as normally your front-end should only be a data consultant, if you have this information on the api side, you can try to send this data…
-
4
votes3
answers4481
viewsA: Difference from: "git commit -am" and "-m"
The git commit -m sets only the commit of the modifications that are previously added to your tree, combining this with the option -m, waiting for a message to bring your commit to life. Using the…
-
1
votes1
answer77
viewsA: Rails and Yugu: Yugu::Subscription.create
Taking a look at the IUGU Csts, the customer’s credit card details do not belong directly to a subscription. The signature is related to a customer, this user, has N payment_methods, and one of…