Using the browser's print or save to pdf file using the jspdf library
See also: [Generate pdf from HTML in div using Javascript](https://stackoverflow.com/questions/18191893/generate-pdf-from-html-in-div-using-javascript), https://codepen.io/AshikNesin/pen/KzgeYX