
HTML is the most basic and essential block to build website and css adds design to the elements that would show up on website. Compared to that Javascript is not essential since you can build website with html and css but still JS is like cherry and icing on the cake it will actually let website do much more cool things such as text disappearing when you click on them..JS will let things get animated when the website loads.
Control flow is part of the way that logic works in javascript. If you explain control flow in everyday life.. it is like cooking a pork steak on a pan. Logically you can't eat raw pork meat so you would have to cook this until it is fully cooked. First you create a variable for pork steak and it is uncooked. If this condition is met something will happen but because eating raw meat is impossible we will log the word not ready. underneath if statement we can write another condition called 'else' we will log the word ready to this. In our case else is applied when the meat is cooked. Going back to the first variable that we have created when you changed var pork steak = "uncooked"; to var pork steak = "cooked"; now because it meets the condition for else this will return 'ready'. loops is simple. It is like programming to tell computers what to do. When you programme this loop statement computer performs same task over and over again until a set of criteria are met. This loop statement will allow the pork steak to cook on the pan until the meat is fully cooked.
Array is subclass of object and it gains all features from object. Object normally explains detailed stuff of the object for instance Name: Sam, Animaltype: dog, Likes: water, playing and array could be dog,cat,bird etc. When you are accessing an array you can access it based on its position using numbers [0,1] and you can use the key of the key value pair to access the property assigned with the object.
If else statement is quite commonly used function when you layout multiples of values and answers. Switch would do exactly same thing but it would let cases break when they meet the requirement. Both of them are useful I think.