Ternary operator
Ternary Operator <script> var a = 100; var b; (a == 100)? b = “true” : b = “false”; document.write(b); </script> <script> function getFee(isMember)
Website Designing Blog
Ternary Operator <script> var a = 100; var b; (a == 100)? b = “true” : b = “false”; document.write(b); </script> <script> function getFee(isMember)
Below are best website for downloading free images and graphics https://www.pexels.com/
SVG Animation on hover change color #Vector-box:hover { fill:#4d4d4d; }
(#) linking
Use below code for combining first name and last name. Code is = A1 & B1 For adding space in between name write below A1&”
Onclick Event <script> function myclick() { var x = document.getElementById(“msg”).value; document.getElementById(“demo”).innerHTML = x; } </script> Onclick Events Submit <script> function myclick(){ var x = document.getElementById(“name”).value;
<script> var x = “2”; var y = “2”; if (x <= y ){ window.alert(“value mached”); } else{ window.alert(“value does’t mach”); } </script>
Logical Operator are used for Checking more than one condition in a single time. Operator Name && Logical And || Logical OR ! Logical NOT
Who to write javascript Javascript must be write under <script> teg Like below <script> write your code here </script> Below is Javascript basic code <script>
Some time we need you tube videos Embeded code for our website. hare are some useful Youtube embeded code: Video Autoplay: Use below code making