Posts

Showing posts with the label javascript

Conditions in js(JAVASCRIPT)

  Conditions in js conditions are if then else else if  like a copy of events TO DO THIS:- JavaScript let variable = 2 // The real if sample if ( variable + 2 = 5 ) { console.log ( "false" ) } else { console.log ( "true" ) } Light/Dark M Copy

Update variable in js

Image
      -:TO UPDATE A VARAIBLE IN JS:-             Let var = 0                             var = var + 1 //Write how much you want to update