🌱 How to automatically assign a filename when using the HTML download attribute to download a file

Source
<a href="/path/to/your/receipt.pdf" download>Download Receipt</a>
<a href="/path/to/your/receipt.pdf" download="magic-wand-purchase.pdf">Download Receipt</a>
Made by Brandon . If you find this project useful you can donate.