Skip to content

Instantly share code, notes, and snippets.

View matthewrpacker's full-sized avatar

Matt Packer matthewrpacker

View GitHub Profile

Route Helper Practice

For the following routes, write out the route helper that will correspond with the verb path combination. For example:

get "/artists" => artists_path

post "/artists" => artists_path

Create route helpers for the following:

Length Points Week
15 minutes 5 Week 1

ES6 Research

Throughout the module (and your journey to Google enlightenment while working on IdeaBox2.0) you may notice a few different ways that JavaScript code is being written.

That might have something to do with something called ES6 and ES5

##Hello World My code: here

  • Responder #1 (here) - This responder took largely the same approach as me but used the if / else approach rather than reassigning input to equal either the given input or World. In this case I feel that I prefer my approach.

  • Responder #2 (here) - Responder 2 took a similar approach to Responder 1, but they simply used an if statement with an implied else. I'm not sure if I prefer this over the traditional if / else approach. Again, I prefer my approach.

  • Responder #3 (here) - I really like this implementation. I'm not sure if the conditional, or ternary, operator is more clear, but I like the approach.

  • Responder #4 (here) - A

Length Points Week
20 minutes 10 Week 2

The Concept of Require - Research

When you start working with WebPack for GameTime, you'll notice that you can't just define a variable in one file and find it in another as easily as you can in Rails.

Deliverable