Switch ,Array, Events in JavaScript
Switch <html> <head> <title>Switch Case with Buttons</title> </head> <body> <label for="a">Enter the first number:</label> <input type="number" id="num1"><br> <label for="b">Enter the second number:</label> <input type="number" id="num2"><br><br> <button id="button1">Add</button> <button id="button2">Mod</button> <button id="button3">Del</button><br><br> <div id="show"></div> <script> function fun1() { const a = parseFloat(document.getElementById("num1").value); const b = parseFloat(document.getElementById("num2").value); const c=a+b; document.getElementById('show').innerHTML = 'Addition is ='+c ; } function fun2() { const a = parseFloat(document.getElementB...