How to open the modal popup using a link instead of button?
Just change the button for <a href="#" id="myBtn">Open Modal</a> , your current script will assign the onclick method.
How do you link modal?
Just replace "Your link text" with what you want the link to say, and paste the modified modal trigger link into your website. Unlike the JavaScript for your modal form, you should paste the modified modal trigger link where you want it to appear on your website. NOTE: Modal trigger links are now each their own link.