0

Am I able to make a button take the user to a link?

If so how do I do that? https://code.sololearn.com/WPEGanLyHXSw/?ref=app

1st Apr 2022, 2:35 PM
『 ă‚·ć°șïŸ’ïŸ’ă€ (Inactive)
『 ă‚·ć°șïŸ’ïŸ’ă€ (Inactive) - avatar
3 Answers
+ 2
Like this: <a class="btn" href="https://www.google.com">download now</a> You can change the link. Hope it helps! Happy Coding đŸ€ 
1st Apr 2022, 2:52 PM
Adil
Adil - avatar
+ 2
Another way <button onclick="location.href=' '">download</button>
1st Apr 2022, 3:45 PM
Chigozie Anyaeji 🇳🇬
Chigozie Anyaeji 🇳🇬 - avatar