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 ответов
+ 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