Posts by Gregolly França • 23 points
4 posts
-
-3
votes1
answer75
viewsQ: Limit characters to an amount "x" with javascript
I am adding a mask and only allowing numbers in a function in a React application, but I also want to limit the characters typed inside the input, however I am not succeeding, someone could help me…
javascriptasked Gregolly França 23 -
1
votes6
answers6079
viewsQ: My function that returns a true/false boolean if it exists or not, is that correct?
I am doing some exercises of js and I would like to know if my function is correct! 1) Write a function that checks whether the past skill vector has the "Javascript" ability and returns a…
javascriptasked Gregolly França 23 -
-1
votes1
answer157
viewsQ: Problem with lottery game code
Basically the code is to simulate a lottery, the user must try to guess one of the numbers of the array, if you get it you get congratulations if it is not warned that you have made a mistake, but…
-
0
votes1
answer147
viewsQ: Problem with a javascript function
I’m trying to make a function to calculate IMC, but when I try to run it gives an error: "Uncaught Referenceerror: imcDoPrimo is not defined at" var mostrar = function(frases) {…