General Assembly Weeks 2 and 3
Weeks 2 and 3 were spent going over Javascript and its relation to the DOM and starting our first Front in Project.
We went over the ES 6 syntax, again something I was already familiar with but going over the basics never hurts.
We started with OOP concepts. Which is a good technique to learn in the context of how we will be using JS.
Simple stuff like the primitive six data types :
Boolean
Null
Undefined
Number
String
and then we went over the Object data type again. (For more information on these read the MDN docs here.) After going over what these are, then went through the ways to declare and initialize them.
Then went through the different loops in javascript. For Loops, and while loops (I've written an article on the simplicity of the single line iterary statement for loops).
Then came in the ‘switch’ statements which handle what would be long lists of if-else statements. You can write them in such a way that runs until the first condition is met or runs all the conditions that are met. like bellow
switch(expression) { >>case n: >>>>code block >>>>break; >>case n: >>>>code block >>>>break; >>default: >>>>code block }
Finally, We prep for our first project. GA runs on agile and Scrum concepts. (Danny the instructor is actually a scrum master).
On to Project One















