0
How do i make my Buttons work with JavaScript on my html code?
I am new to coding so i would appreciate help.
3 ответов
+ 1
show your code.
describe precisely what the buttons should do.
0
You can make the button redirect to a page by js onclick, If you're not clear, Check here for working code:
https://sololearn.com/compiler-playground/WgkkOoEn8bFo/?ref=app
0
Sololearn has no HTML tags or attributes in JavaScript to work with elements. But in other editors, you can make a button turn red or change the font when you click it. And here you can simply call alert().
https://www.sololearn.com/ru/compiler-playground/Wz0q0czYAh7F/?ref=app