Skip to content

Commit ab2325d

Browse files
author
BaluB
committed
Able to add personal details
1 parent 23567bf commit ab2325d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

index.js

+27
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,33 @@ form.addEventListener("submit",(e)=>{
3030
doc.setFontSize(20);
3131
doc.text(60,30, fullName);
3232

33+
doc.setFontSize(20);
34+
doc.text(20,40, "Last Name :");
35+
doc.setFontSize(20);
36+
doc.text(60,40, lastName);
37+
38+
doc.setFontSize(20);
39+
doc.text(20,50, "Email :");
40+
doc.setFontSize(20);
41+
doc.text(60,50, email);
42+
43+
doc.setFontSize(20);
44+
doc.text(20,70, "phone Number :");
45+
doc.setFontSize(20);
46+
doc.text(60,70, phoneNum);
47+
48+
doc.setFontSize(20);
49+
doc.text(20,80, "Address :");
50+
doc.setFontSize(20);
51+
doc.text(60,80, address);
52+
53+
doc.setFontSize(20);
54+
doc.text(20,90, "LinkedIn Link :");
55+
doc.setFontSize(20);
56+
doc.text(60,90, linkIn);
57+
58+
59+
3360
doc.save(`${fullName}.pdf`);
3461

3562
});

0 commit comments

Comments
 (0)