Html button to download and redirect


I am learning Android Studio and I have made a TicTacToe app.
And I want to make a website for it so everyone can go to that website and download my tic-tac-toe app and I have made the website.
But I want one thing if anyone clicks on my Download TicTacToe button, then the tic-tac-toe application downloads, and then it goes to a different page saying Thanks For Downloading our application!.
And I have made an HTML file thanks.html.
I will be grateful if anyone helps me.

Here is my index.html file image

Here is my thanks.html file image


replace your button with :

<form action="thanks.html">
    <input type="submit" value="Download Tic Tac Toe" />

I think it should work

Answered By – Neo

Answer Checked By – Cary Denson (AngularFixing Admin)

Leave a Reply

Your email address will not be published.