How do i make a button download a file or how do i make a button open a link? (Please tell me which one is easier to do and how to code it)
you are asking for help from Buttons, and you need to read as Boban Said, also visit Docs to know how buttons works or down loader works.