rform error cleanup here 
                        console.error(e); 
                    });
                    
                    
               
            }


            //adding click event listener to the submit button
            var submitTransaction= document.getElementById("submit");
            submitTransaction.addEventListener('click', function(){firstTransaction();});


            
    </script>
</body>
</html>