How to show contact form popup in same page

if you are using Contact Form 7 which is usually one of the popular free plugins you can use shortcode to display forms on a normal page by copying this into the editor and editing the form ID and title as needed.

[contact-form-7 id="1234" title="Contact form 1"]

EDIT:
You can use simply jQuery to hide/show the form

https://codepen.io/AKiwi92/pen/mdJBpPg

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)