+ 1

How to make a working button on web

4th Oct 2023, 10:34 AM
Zed
Zed - avatar
7 ответов
+ 8
Let's learn HTML together, Zed . You'll learn how to make a button for the web and do many other things. While learning, if you have doubts, show your attempts and ask questions. You'll be a pro before you know it! - Happy Coding!
4th Oct 2023, 1:26 PM
Chris Coder
Chris Coder - avatar
+ 6
Zed , So what do you want,Readymade code?. First learn the lesson again with carefully, and try by yourself,after this if you face any problems in during learning or making code then ask here. Note that..Providing `readymade` code, this feature is not available here. Otherhand, If you're having trouble in code or learning, share your code and then describe what error message you're receiving. without watching no one can figure out what's going wrong. Attention:-use searchbar before asking any questions.. https://code.sololearn.com/W0uW3Wks8UBk/?ref=app
4th Oct 2023, 11:01 AM
Darpan kesharwani🇮🇳[Inactive📚]
Darpan kesharwani🇮🇳[Inactive📚] - avatar
+ 3
Do you mean by working button is apply events on the button?
4th Oct 2023, 10:54 AM
Qurban Hussain
Qurban Hussain - avatar
+ 3
Zed , Complete 3 courses: HTML, CSS, JS so that you'll be able to make buttons and apply event to it once clicked. In HTML, there is a "button" tag which allows you to make a button. Syntax: <button `ATTRIBUTE IF NEEDED`></button> Where `ATTRIBUTE IF NEEDED` (optional) is the attribute of the element. It is not optional.. In JS, there's a function called `element.addEventListener(event,function)` Where: `element`: The HTML id (or class I don't know) element you want to apply an event. (document.getElementById("idHere");) `event`: Defines how the element should be interact/clicked to trigger an event. E.g: "click", "focus",etc. `function`: The function to trigger when the event occurs.
4th Oct 2023, 1:03 PM
Dragon RB
Dragon RB - avatar
+ 2
<button></button>
4th Oct 2023, 1:21 PM
Sakshi [Offline 🙃]
Sakshi [Offline 🙃] - avatar
0
Yes
4th Oct 2023, 11:01 AM
Zed
Zed - avatar
0
Bonsoir svp on compile le code où??
6th Oct 2023, 10:15 AM
Tiwa Annicet