Buttons? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Buttons?

How do I make a button do something

13th Jan 2024, 9:11 PM
Hannah Baham
Hannah Baham - avatar
1 Answer
+ 3
Well, what do you want it to do!? Usually buttons do something when "onclick" attribute is defined for them. You should learn JavaScript it is totally covered there. Remember, HTML isn't everything; but it is a base structure. You design it with CSS, and make it intelligent and interactive with JavaScript! Any other questions? I'd be happy to answer...
13th Jan 2024, 9:37 PM
🇮🇱 Radin Masiha 🇮🇱
🇮🇱 Radin Masiha 🇮🇱 - avatar