- Understand forms and the ways we write them
- Understand the difference between
form_tag
andform_for
- Understand
link_to
and how we can use it to dynamically link our application together
- Underscore.js is a highly useful complement to JavaScript’s rather sparse standard library. In a pinch, Underscore gives you simple templating, too.
- Underscore gives you a large list of helper functions, similar to what ruby might have waiting for you out of the box
After this lesson, you will be able to
- Understand 4 foundational git commands: init, add, commit, and push
- Explain what a repository is, and distinguish between local and remote repositories
- Create, copy, and delete repos locally and on github
- Fork and Clone remote repositories
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
1. Counting Sheep | |
Consider an array of sheep where some sheep may be missing from their place. | |
We need a function that counts the number of sheep present in the array (true means present). | |
*/ | |
var arr = [true, true, true, false, | |
true, true, true, true , | |
true, false, true, false, | |
true, false, false, true , | |
true, true, true, true , |
We're going to use what we've learned already about searching with SQL commands, and apply it to chase down and capture an elusive and world-reknowned thief, Carmen Sandiego. Follow the clues, use the interweb - write down both the SQL commands /queries you used and your answers to the clues - and figure out where Carmen's headed, so we can catch her and bring her in.
NewerOlder