@jesusleonel10
Posted
Hello Try to make that when writing in the fields the data is shown in real time in the cards The way I solved it was: 1.- An array with the inputs and another array with the html elements of the card (name, number, ccv etc...) 2.- You go through the array of inputs and use the 'input' event to execute a function when there is a change in the field (i.e. every time you write in the field) 3.- Then the value of that input is shown in the html element of the corresponding card, you can use textContent or innerHtml
I hope I have helped you 😄✌
Marked as helpful
@Frimpong04
Posted
@jesusleonel10 Hi, Thank you very much for the feed back. It has helped me.