March 8, 2021 — March 12, 2021
Technical Classes of Week-5
March 8, 2021
This essential part covered in this session is the following…
Variable Type includes var, const, let
let's discuss the scopes of these different variables so we can understand that how to use them and where to use them.
var declarations are globally scoped or function/locally scoped.
var can be re-declared and updated.
let declarations are block-scoped.
let can be updated but not re-declared.
const declarations are also block-scoped.
const cannot be updated or re-declared
- Integers, Floats
- Booleans (true / false)
- null, undefined
use of if and else statements to control your code that which statements are going to be executed and which are not. Based on the result of the expression in the ‘if-else’ statement, the block of statements will be executed. If the condition is true, then the ‘if’ block will be executed otherwise ‘else’ block will execute.
March 5, 2021
use of switch statements to control your code that which statements are going to be executed and which are not but here the switch statement contains multiple cases. The user will decide the case, which is to execute.
less than <
greater than >
not equals !
these operators are used in control statements to resolve complex problems.
- for loop
- while loop
- do-while loop
Non-technical class of week-5
March 9, 2021
Tuesday’s session was about a community sharing session. This session had a story session where everyone had to share something personal. It could have been an achievement, something about your city, or anything at all.
I enjoyed this session as it was full of interesting stories to hear as everyone expressed their thoughts and their life stories.