Skip to content

Instantly share code, notes, and snippets.

View MsJennyGiraffe's full-sized avatar

Jennifer Soden MsJennyGiraffe

View GitHub Profile

##Leap My code: here

  • Responder #1 (here) - This responder used nesting if else/statements. Personally, I would rather have longer code than nested code, but because there aren't very many conditions, I think that it doesn't matter too much. It's still fairly easy to follow. I wish the responder would take out the hello world comments just because it pushes down code and makes it harder to directly compare when switching tabs. I do like that this responder takes in input, I took in year, which makes it kind of confusing when Year takes a year.

  • Responder #2 (here) - This responder made a one line if conditional, which I'm not always opposed to, but I don't like when I have to scroll to see code, and I have to scroll sideways to see it on the website. I think the logic is clean, and I like it. I just wish it w

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

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

  1. Define CRUD.
  2. There are seven verb + path combinations that are necessary in a basic Sinatra app in order to provide full CRUD functionality. List each of the seven combinations, and explain what each is for.
  3. Why do we use set method_override: true?
  4. Explain the difference between value and name in this line: <input type='text' name='task[title]' value="<%= @task.title %>"/>.
  5. What are params? Where do they come from?