

How can (x + y) % 2 = 0? How do we know that x and y didn't start counting from 0 together, in which case there would never be a remainder if the sum was divided by 2? How can x and y be different from each other? I suppose I can't seem to resist fixing them anyway mind you. It's actually pretty easy you need to make two loops, one for each row and the other for choosing the element you want to console.log (either ' ' or ''). Sorry to pick on this post in particular but I really don't get how people can post their question, see that (lack of) formatting and assume that they will get any type of response. If the index of the row is odd, don’t apply the flex-direction. This direction of render can be determined by the CSS property flex-direction.

Personal blog posts that are relevant to the subreddit's stated subject matter don't need prior approval (and are encouraged!). One way would be to alternate the direction in which the rendering takes place. I am sharing my solutions to the code exercises in Haverbekes fantastic book in hopes that others working through the exercises might benefit from my solutions or offer advice for improving them.
ELOQUENT JAVASCRIPT CHESS BOARD MODS
If you want to post something self-promotional, please message the mods first. Eloquent Javascript is licensed under a Creative Commons attribution-noncommercial license. Titles that begin with "hey guys" will be removed.
ELOQUENT JAVASCRIPT CHESS BOARD DOWNLOAD ZIP
TechNinjaWeb / ChessBoardafter Created 8 years ago 0 Fork 0 Code Revisions 1 Download ZIP Eloquent Javascript Exercises Raw chapter 3 answers / Minimum The previous chapter introduced the standard function Math. If you're in doubt, message the mods first.
