0

2 Buttons Only

So I Want 2 Buttons Witout var in JS Seperating Them The code JS funciton show () alert("windows") funciton show () akert("win xp") HTML <button onclick show >Water Proof </button> <button onclick show >Water Proofment </button> I Wanted Water Proof Is windows Water Proofment Is win xp Plz Help Me https://code.sololearn.com/W07l1L38KZq9/?ref=app

10th Jun 2020, 5:55 PM
Catafrancia Mapper
Catafrancia Mapper - avatar
2 Answers
+ 1
Explain you're question... Do you want to only have one event handler and pass parameters to it?
10th Jun 2020, 6:32 PM
Zachiah sawyer
Zachiah sawyer - avatar
0
No Seperate In Two Buttons And Diffent Text
30th Jun 2020, 3:06 PM
Catafrancia Mapper
Catafrancia Mapper - avatar