Learn to Code via Tutorials on Repl.it!

← Back to all posts
How to create a download link!
dudeactualdev

Intro

Hey everyone! I'm Dudeactualdev. Today I will be showing you how this simple code can download a file!

Code

So at line 21, we have this:
<a href="ADD YOUR LINK HERE" download="somthing">Download</a>
This is simple HTML but it downloads the image or file to the person's computer!

Outro

Repl Profile: https://replit.com/@dudeactualdev
Github Profile: https://github.com/dudeactual

Voters
dudeactualdev
Comments
hotnewtop
ch1ck3n

doesnt work

dudeactualdev

@ch1ck3n Hmm for me it does..