How do I make links in buttons?
So I'm making a calculator that calculates area of shape and I want to make buttons that switch shapes when clicked, I got the click part done, I just need to know how to turn the buttons into links
Do you have the repl?
Listening if a button was clicked:
Listening if a button was clicked (using html onclick):