Skip to content
Sign upLog in
← Back to Community
how do I use the button to make me go to a link
Profile icon
minifletch14

I make a button, but I don’t know how to make it so when i click on it ist sends me to a link

Voters
Profile icon
AnaRomero10
Profile icon
minifletch14
Comments
hotnewtop
Profile icon
ash15khng

You can do <a href="https://www.google.com"><button>This sends you to google</button></a> Basically wrap the button in an <a> tag and it will give you a clickable button.

Profile icon
NoelB33

Try:

<button onclick = “window.location.href = 'YOURWEBSITEHERE’;”> BUTTON TEXT HERE

if your using HTML