Download card on submission


Just getting started with JavaScript and learning it from Tuts+. Was playing with it and have generated a simply card generator, have a look here Can we download the generated card onclick submit as a JPG/PDF file?

Yes, I think it’s possible to export a HTML part of the page or all the HTML page to an image.

But from what I know it can’t be done easily, using javascript in codepen, you’ll have to use a server side language like php and eventually a ready-made library, like this one for instance (but there are more on the web):

1 Like

Thanks for your reply. I have got here but don’t have SSH access to the server as it’s shared hosting. How to install it here?

Can I have some feedback on this please?