How to make a pdf from user input on website

Problem: Generate a pdf on a website (client side) with user input. Solution: Use the pdfMake library! To get started, make a html file: Save the above code as an html file. Also save the two scripts (pdfmake.js and vfs_fonts.js) in the same folder. Then open the html file in a browser, fill in a name, and click the button. You should now be able to save or open a […]