Posts by bcastro95 • 61 points
7 posts
-
0
votes0
answers53
viewsQ: Unexpected Token
I am making an application with Angularjs and the error "Uncaught Syntaxerror: Unexpected token <" is firing Follow the code js angular.module('alurapic').controller('FotoController', function…
-
0
votes2
answers44
viewsQ: Delete Method Does Not Work
Good Morning I am learning Angular JS and am having a hard time getting my delete method to work. Does anyone know where the bug is ? JS Code angular.module("listaTelefonica", []);…
-
5
votes1
answer375
viewsQ: Double Characters in Regular Expressions
I’m training my javascript and I’m wondering how I look for repeated characters in a regular expression Example: I type aa in a textbox and, within a validation method, the method checks whether the…
javascriptasked bcastro95 61 -
0
votes1
answer127
viewsQ: Error in Hangman Game
I’m developing a hangman game using Javascript and can’t solve two problems Whenever I hit the first letter and print the word on the screen, it prints only after hitting the second letter and does…
-
1
votes2
answers59
viewsQ: Code problem
My guessing code is working, however, instead of giving only 3 attempts to the user, the program gives 4 attempts. How do I stop the code on the third attempt ?? var chute =…
-
0
votes1
answer53
viewsQ: I cannot reduce the value of html span
I am making a guessing game with a number of attempts equal to 3. Whenever the user misses the kick, the number of attempts must fall, but this is not happening. Does anyone know what I’m missing ??…
-
0
votes1
answer55
viewsQ: I cannot increment my variable without resetting the code
I’m doing a Javascript guessing game where the user has three attempts to guess a random number between 1 and 10, only during the test, whenever I miss the first attempt, I increment the trial…
javascriptasked bcastro95 61