Screen Staring

Started my daily coding freecodecamp practice as follows:

  • Start – Stare at screen.
  • Stop.
  • Sit cross legged on the floor and box breathed for 5 minutes. Apparently it’s good for focus. I need focus.
  • Managed to fudge my way through a couple JS tasks.
  • Got completely stuck on this…

function nextInLine(arr, item) {

  // Your code here

  arr.push(item);

  var removed = arr.shift();

  return removed;  // Change this line

}

Until tomorrow…

Ps. Remember Cal…discipline is better than motivation. 1 day code even for just 1 minute.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s