I need help with getting buttons to going to a page
_10cps_ (0)

I need help getting my buttons when I click them to go to a certain website for example to help people on stuff EDIT: HTML

You are viewing a single comment. View All
Answered by Vandesm14 (2038) [earned 5 cycles]
View Answer
Zeune (16)

Please post the language that you are trying to do this in.

Vandesm14's answer would work if you wrote a script to react for the button to take you to a new webpage. If you are in Java you would write an actionListener, otherwise we will need more information to assist you.

Zeune (16)

@_10cps_ If you are still wondering create your <a href="">Put your code for the button here (between the href tag) </a>

_10cps_ (0)

@Zeune that doesn't help ? im looking how to connect my buttons with another website to link so when the click the buttons it sends them to a direct link

Zeune (16)

@_10cps_ That will work (tested in my project below). Link your project for additional help.

worked for me in my project: https://repl.it/@Zeune/ZsBlog

For more information on how Buttons in html work reference

w3schools: https://www.w3schools.com/tags/tag_button.asp

_10cps_ (0)

@Zeune that's helped thanks