+ 2
Open links with JavaScript
I want to click on a button and open a link. Someone can help ? https://code.sololearn.com/Wrxa73MXHgsa/?ref=app
2 Réponses
+ 2
I resolve. I created a <button> tag and inside a <a> tag
+ 3
You can change button to link and change css to make link looks like button or add event ‘on click’ in JavaScript and redirect to desired page ;)