I want to know how to implement JS eventListner classList’s toggle function to change the class of the button written in Tailwind-css
now i want that when i click to the button it switch from btnAbt(id) to newAbt(id) using js event but the code is written using tailwind css. page size should be same only switch to other page while clicking on the button.