Тэги:
#how_to_download_with_html #how_to_download_images_on_website #download_link_with_html #download_link_with_javascript #how_to_download_images_with_javascript #programatically_download_images_with_javascript #how_to_download_files_with_javascript #how_to_create_a_download_link_with_html_css_javascript #how_to_create_a_download_link_with_javacript #javascript_download_link #html_download_link #html_download_attributeКомментарии:
for me the image just opens in new tab instead of downloading
ОтветитьI am 324 liker. Sir kindly let me know how to find the HTML code template related to this video tutorial
Ответитьthanks, good, but you don't have to append tag "a" in DOM, this is excess, you can create and uses elements without DOM if it is not necessary
Ответить🥰🥰🥰😍😍😍😍🤩🤩🤩🤩😍🥰🥰🥰🥰🥰🥰🥰🥰🤩🤩😍😍😍🤩🤩🤩🤩🥰🥰🤩🤩😍😍🤩🤩
ОтветитьHello Sir, I go through your code but its not download its opening in new window. Download is not happning and I am doing same as your code.
ОтветитьNice tutorial bro 😍 I have an idea for your next tutorial! I'm trying to create a video-website, and I would like the users to be able to tag other users, use hashtags and to use emojies in the title and description and comments-sections. I think I would need a div that is contenteditable. Can you make a tutorial about how to create those functions please? It's supposed to work similar to the div on facebook or instagram
Ответитьwowowowowowow
ОтветитьIt keeps opening my image in a new tab. I even used a javascript script linked to a <button> but even then it opens the image instead of downloading it
ОтветитьPlease bro i love this colour theme please tell me ❤
ОтветитьHey can you please tell me what is you color theme in VScode please i love it
Ответитьcan i make it so it downloads a file on my computer?
ОтветитьThanks for the updated version! 😊
Ответитьthanks .... شكرا .... shokraan
Ответить🙏🙏🙏🙏👌👌👌👌👌🖖🖖🖖🖖🖖
ОтветитьFantastic! how can we download multiple images by clicking one button?
ОтветитьThank you so much !
ОтветитьHow to ad this code use my site
Ответитьwhy not an anchor inside of a button? unless there is a serious a11y problem that can take MORE code to fix, this solution looks more expensive and error-prone.
from my experience, the less JS the better.
First of all: best wishes for 2023 and keep up the good works. I love your generic approach.
May I suggest an addition when the number of images is non-trivial - like in a gallery browser with a a variable number of images? I'd put the <img> and <button> "tuple" in a HTML template.
You'd have to "fetch" the (thumbnail) filenames from a server and then generate the page using the template. Once done you'd run your script.
do you have a video about creating reactivity with vanilla js?
ОтветитьPlease make a tutorial on FileReader API of JavaScript.
ОтветитьThanks, bro!!!
God bless you!
Thank you very much, Dom.
May I ask? Could you please do something similar for downloading a page as PDF?