- Which HTML 5 tag would you use for semantically correctly wrap your page navigation?
- What is the difference between a
<div>
and a <span>
in HTML?
- What is wrong in the following HTML?
<div class="some class" id="someID"></div>
<div class="some class" id="someID"></div>
- How would you create a new folder named
testFolder
with the command line?
- How would you enter this folder?
- Given you are now in this folder, how would you check if git has already been initialized in that folder?
- If git has not yet been added to that folder, how would you add it?
- Which industry vertical are you interested in and why?
- Using Javascript, please write a function foo, that takes two arguments, an array and a number, and returns true if the length of the array is equal to the second argument? E.g.
foo([1, 2, 3], 3)
would return true.
- Write a loop in Javascript, iterating over the array [1, 2, 3, 4] printing out if the element is eiter the first element (print
first -
), the last element (print last
) or neither first or last element (print not first or last -
). E.g. the expected output would be (first - not first or last - not first or last - last
)
- Print all numbers from 15 - 0 do the command line using a for loop in JS.
- What would the console print in following example
function outer(input) {
var a = inout;
function inner(multiplier) {
console.log(a * multiplier);
}
return inner;
}
var firstResult = outer(9);
firstResult(10);
- Add the missing code to print "this is A" to the console by accessing the key from the JS object literal.
var someObject = {b : "some test", a : "this is A"}
console.log("*Youre code here*");