JavaScript
17/5 ## HTML, CSS - These does not have event - For event we use JavaScript ## JAVASCRIPT (JavaScript) - Javascript is an event programming - Used in head section - JavaScript is case sensitive - inside body tag is dynamic script syntax:- <html> <head> <script language="JavaScript"> </script> </head> </html> ## JavaScript Statement 1) Printing statement document.write("message"); 2) Alert statement alert("message"); 3) Input statement prompt("message"); 4) Confirmed statement confirm("message"); ## JavaScript Variable Variable is a name of memory location where user can store different type of data value. ex. a=10 number variable a=10.5 decimal variable a="Ram" string variable a=z character variable ## Types of variable 1) Variant int a, float b, string c, char z (verify before storing the value) ...