Posts by Vanderson Luis Bonacuore • 51 points
6 posts
-
1
votes3
answers136
viewsA: How to make calculations by clicking the button and placing the result in another field
You can solve this with pure Javascript, follow the code I wrote to help you. Ps.: HTML and CSS are your originals, I just added Javascript. Click on Execute at the end of the code. var calcButton =…
javascriptanswered Vanderson Luis Bonacuore 51 -
1
votes1
answer39
viewsA: How can I print only the equal items of two arrays in java script?
You can put two nested Array iterators, like this: listaDeNumerosJ1.forEach(j1 => {console.log('Igual: '+listaDeNumerosJ2.filter(j2 => j1==j2))}); Or so: listaDeNumerosJ1.forEach( j1 => {…
javascriptanswered Vanderson Luis Bonacuore 51 -
2
votes1
answer328
viewsA: Limit the amount of html css characters
The estate maxlength doesn’t work if the type of input for "number". For this problem, a simple solution is to change the type to text. <input class="searchInput" type="text" name="localizar"…
-
0
votes1
answer48
viewsA: Using a JS Function for multiple INPUTS
Hello, all good? It’s happening the seguite, when you add the inputs by function, all inputs have the same ID, so they are various inputs with the id="bairro1". Then the second function tries to…
javascriptanswered Vanderson Luis Bonacuore 51 -
1
votes1
answer77
viewsA: Customization and z-Index
I looked at your code and I did it in a way here that we won’t touch the property z-index but on the property display of their containers. But first let’s get your CSS sorted so the containers are…
-
0
votes8
answers34672
viewsA: Convert every first letter of every word into uppercase
I did so: var titleize = (word) => { var newWord = []; var splited = word.split(" "); splited.forEach( word => { var firstLetter = word[0].toUpperCase(); var restLetters =…
javascriptanswered Vanderson Luis Bonacuore 51