Welcome to this repository where you can get a first glance of collaborating on GitHub! Please answer the following questions:
-
Why would you use a loop? Write me a for & a while loop that prints your favorite food 10 times.
-
How do I try out whether my loop is working?
-
What are arrays? What is an ordered collection?
-
Write me an array with the names of your team and iterate over them, so all names will be printed out (using for each).
-
What is the difference between a loop and an array? Why would you use either of them?.
-
What is happening here?
var multiply = function(a, b) {
return a * b;
};
multiply(2, 3)
-
How could we log the arguments of the code above?
-
What is ‘scope’?
-
Can I use my vars at the following places?
var name = Rembert
//Place A
var codaisseur = function() {
//Place B
}
var codaisseur = function() {
var name = Rembert
//Place C
}
//Place D
-
Why would you use an object?
-
Create an object ‘teacher', that stores the name, favorite language and a teach-function of that teacher that will alert you with some useful knowledge.
-
What are the property-names and values of the object you just created?
-
Why would you use git?
-
What is the difference between
git add
,git commit
andgit push
?