I have one problem. I am making JavaScript app which basically works similar to PayPal. However I faced a problem. My files are divided like in MVC architecture. I have login view, which check user credentials and then it runs a transactions view (view for transactions) which creates new html markup and display it with “insertAdjacentHTML” and it works good. Login view just gets class hidden. However, when I delete account, it should remove that account, remove all html with —.remove() and display login view again with just removing hidden class. That works good as well. Now when I log with another account, it makes exact same two html for transactions. If I repeat this process it will make 3,4,5 html. I am looking half day at this and can’t find problem.
I would be grateful if someone message me or even want more details.
Thank you,
Regardless