rendering Html forms as pdf

Keywords´╝Ü node.js reactjs pdf-generation

Question: 

I have two html forms(containing dynamic content stored in variables). When the user clicks the download PDF button, he/she should be able to download one PDF of two pages containing the two forms.

I have read a lot of articles but I found no definite answer to this issue. Can anyone help with this issue?

I am using react frontend and Nodejs backend

Answers: