How to connect form html page to my main landing page | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

How to connect form html page to my main landing page

1st Oct 2021, 6:28 PM
vikash kumar
2 ответов
+ 1
Use the anchor tag <a>
1st Oct 2021, 6:35 PM
Eashan Morajkar
Eashan Morajkar - avatar
+ 1
I don't know how are you making your app so i will answer based on what i did. Assuming form and main are two different html pages. Then you can add a form button on main page. When button is clicked it will make get request to server for the form page and will redirect the user to a custom url where you serve the form. But you can do this only if you understand server side coding. If it's a single html page then use display none or block or any another value to hide and show things. I am not saying that above are the only way but i don't see any other way . Wait for others answer as well or you can google it.
1st Oct 2021, 6:41 PM
Abhay
Abhay - avatar