Git21221 / JS-beginner-projects

Here you will get small JS projects for starters.
https://js-beginner-projects.netlify.app/
47 stars 71 forks source link

Download Source Code #277

Open uzair-ahmed-01 opened 9 months ago

uzair-ahmed-01 commented 9 months ago

Hi @Git21221 To make a specific project in your GitHub repository available for download as a ZIP file, create a release, and upload the ZIP archive containing that project's files to the release's assets section. Users can then download the ZIP file from the release page for that specific project.

To enable users to download a specific ZIP file, create an anchor tag (<a>) with the download attribute pointing to the ZIP file's URL in your HTML code. When users click the link, the ZIP file will be downloaded. Look at here i implmented this feature. click Here screencapture-uzair-ahmed-01-github-io-Alarm-Clock-2023-10-04-15_40_48

Git21221 commented 9 months ago

@uzair-ahmed-01 a quick reminder, this repo is not anymore under hacktoberfest. If you still want to contribute you are welcome.

uzair-ahmed-01 commented 9 months ago

So I'll would like to contribute it in just implement this only in alarm clock repo because implementing it to every repo it's too much time consuming.

Git21221 commented 9 months ago

@uzair-ahmed-01 the source code is not downloading.

uzair-ahmed-01 commented 9 months ago

Now just checked Its working 🧑‍💻

Git21221 commented 9 months ago

No still nothing

uzair-ahmed-01 commented 9 months ago

Look @Git21221 https://github.com/Git21221/JS-beginner-projects/assets/46860228/928f6cb3-5f46-4cba-a4c1-709752ac2447

uzair-ahmed-01 commented 9 months ago

LOOK @Git21221

https://github.com/Git21221/JS-beginner-projects/assets/46860228/d75c03b8-f4be-40e0-8455-f8244f4bf827

Git21221 commented 9 months ago

@uzair-ahmed-01 try it on computer. I can't download it.

uzair-ahmed-01 commented 9 months ago

Reference

Already running on computer and mobile both. Untitled_ Oct 5, 2023 1_31 PM.webm