I am currently working on a project and I want to download a gif sourced from the giphy API when a button is clicked. After much research I have the below code but it doesn't work and I am completely at a loss...
<a href="https://media0.giphy.com/media/xT5LMHMVvWbyDAtYQ0/giphy.gif" download="Downloaded.gif"><button type="button" class="btn btn-warning btn-block">Download</button></a>
I suspect it has something to do with the href.