Posts

Javascript Chp 11 Rock paper Scissor game

  <! DOCTYPE html > < html lang = " en " >     < head >         < meta charset = " UTF-8 " >         < meta name = " viewport " content = " width=device-width, initial-scale=1.0 " >         < title > Rock Paper Scissors game </ title >     </ head >     < style >         body {             height : 100 vh ; display : flex; align-items : center; justify-content : center; flex-direction : column;             background-color : seagreen;         }         button {             margin : 12 px ;             border : 0 cap;             border-radius : 5 px ;             font-size : 1 em ;   ...

Javascript Chp 9 String Methods

  /* let a = 'Akash' let b = "Priti \n and her best friends" console.log(a, b); console.log(a+b); */ /* --Brackets are always calculated first -- console.log('$' + (600 + 80) / 100); */ console . log ('Items (' + ( 1 + 1 ) + '): $' + ( 600+80 ) /100 ) ;

Javascript Chp 8 Arrays in Javascript (incomplete)

  let fruit = [ 'orange' , 'fourinch' , 'doorhinge' , 'storage' ] // In this chapter we will learn about //  and function that could be used for the arrays console . log ( fruit ) ;

Javascript Chp 7 Loops in Javascript

          // assign a value , condition , increment counter         // As you can see this is a for loop which         //  is used when we         //know the starting an ending point of a code         // for(i = 0;i<=100;i++){         //     console.log(i);         // }         //That's how you can use while loops !!     //     let num= 123456;             //     while(num>0){     //   console.log(num%10);     //   num = parseInt(num/10);     //     }         for ( i = 0 ; i <=100 ; i ++ ) {             if ( i %3===0 ) {                   console . log ( i ) ;           ...

green theme login page HTML _ CSS

  <! DOCTYPE html > < html lang = " en " > < head >     < link rel = " stylesheet " href = " style.css " >     < meta charset = " UTF-8 " >     < meta name = " viewport " content = " width=device-width, initial-scale=1.0 " >     < title > Document </ title >     < link rel = " preconnect " href = " https://fonts.googleapis.com " > < link rel = " preconnect " href = " https://fonts.gstatic.com " crossorigin > < link href = " https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Playwrite+US+Modern+Guides&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0...

Javascript Chp 6 Switch Statement in JS

  <! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < meta name = "viewport" content = "width=device-width, initial-scale=1.0" >     < title >Document</ title > </ head > < body >     < script >         let day = 5 ;         let dayName; switch (day) {     case 1 :         dayName = "Monday" ;         break ;     case 2 :         dayName = "Tuesday" ;         break ;     case 3 :         dayName = "Wednesday" ;         break ;     case 4 :         dayName = "Thursday" ;         break ;     case 5 :         dayName = "Friday" ;         break ; ...

Javascript Chp 5 If statements in JS

  <! DOCTYPE html > < html lang = "en" >     < head >         < meta charset = "UTF-8" >         < meta name = "viewport" content = "width=device-width, initial-scale=1.0" >         < title >Document</ title >     </ head >     < body >         < script >               // No.1 -  The if-else statements               let age = 16 ;         if (age >= 18 ) {             console . log ( "He's an adult" , "Because the age is greater than or equal than 18" );         } else {             console . log ( "Babua hamaar !!" , "Because the age is not greater than 18" );             }         ...