Posts by Borto X Laurean • 25 points
5 posts
-
-4
votes1
answer40
viewsQ: How to pull a specific Javascript pro HTML function
I have a website and I am struggling, Javascript codes are all mixed with html because when I put in only 1 file it does not run in html, have to open a tag below each item that has function. I…
-
0
votes1
answer29
viewsQ: Take 2 values of 2 inputs and add
I would like to know what I’m missing! Besides the numbers can be with comma or without. I wonder how to solve these two problems. var x = Number(document.getElementById('x').value); var y =…
-
0
votes0
answers65
viewsQ: Search bar return card according to what is typed
I need that as I type in input, stay only the card containing the characters typed. Example: In input I typed "AD", so the system should look for cards with the title that contains the characters…
-
1
votes1
answer83
viewsA: Perform JS datalist value operation
SIMPLY ADD A SWITCH CASE AND A CONST VARIABLE BY STORING THE VALUE let input = document.getElementById('txt-busca'); input.addEventListener('input', function(evt) { let selector =…
-
1
votes1
answer83
viewsQ: Perform JS datalist value operation
I got a problem: the JS code it can take the value of the datalist and return through an Alert the selected item, but I need to do functions for each operation, IE, I need JS to interpret which item…