The solution to creating a chessboard from the Elegant Javascript book but with a twist of setting your own height and width.
00:00 The question from Elegant Javascript
00:25 Changing the Question
01:17 Starting to solve question
01:50 If h or w is 0
03:15 Creating line1 (explaining modulus Operator)
06:45 If h equal to 1
07:15 Creating line2
09:00 Explaining why to create line2
10:20 Lines to strings with '\n'
11:12 Putting the board together
13:15 Testing the function
14:20 Final Solution