Wednesday, 4 May 2022

JAVASCRIPT + CSS + HTML #33 | IF ELSE LOOP in JAVASCRIPT | How to Make Loop in JS | Web Development

 <!DOCTYPE html>

<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>If Else Loop</title>
    <script>
        let a = 66;
        if (a<=6){
            console.log('True');
        }
        else if (a==66) {
            console.log("2nd Condition");
        }
       
       
        else{
                console.log("False");
            }

    </script>
</head>
<body>
   
</body>
</html>




No comments:

Post a Comment

JAVASCRIPT + CSS + HTML #42 | Event & Event Listener |How to Target using JS | Web Development

  <! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < met...