Questions and Answers
Problems and Solutions
Quotes help make search much faster. Example: "Practice Makes Perfect"
Tuesday, December 10, 2013
Try Objective C: Level 1 Challenge 14
//sample solution
NSLog(@"Lettertouch has a rating of %@.", appRatings[@"Lettertouch"]);
Back to the list of sample solutions for Try Objective C: Level 1 challenges
Try Objective C: Level 1 Challenge 13
//sample solution
NSDictionary *appRatings = @{@"AngryFowl": @3, @"Lettertouch": @5};
Back to the list of sample solutions for Try Objective C: Level 1 challenges
Try Objective C: Level 1 Challenge 12
//sample solution
apps = @[@"AngryFowl", @"Lettertouch", @"Tweetrobot", @"Instacanvas"];
Back to the list of sample solutions for Try Objective C: Level 1 challenges
Try Objective C: Level 1 Challenge 11
//sample solution
NSLog(@"%@", apps[1]);
Back to the list of sample solutions for Try Objective C: Level 1 challenges
Try Objective C: Level 1 Challenge 10
//sample solution
NSArray *apps = @[@"AngryFowl", @"Lettertouch", @"Tweetrobot"];
Back to the list of sample solutions for Try Objective C: Level 1 challenges
Try Objective C: Level 1 Challenge 9
//sample solution
NSLog(@"%@ is %@ years old", firstName, age);
Back to the list of sample solutions for Try Objective C: Level 1 challenges
Try Objective C: Level 1 Challenge 8
//sample solution
NSNumber *age = @10;
Back to the list of sample solutions for Try Objective C: Level 1 challenges
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
This is an example of
scrolling text
using Javascript.
Popular Posts
Make a Website: HTML Wrap with a div
<!-- Sample solution to index.html --> <!DOCTYPE html> <html> <body> <div class="nav"> ...
Codecademy: "Function and Control Flow"
//sample solution def isEven(x): if(x % 2 == 0): return "yep" else: return "nope"
Codecademy Sample Solution: Conditional Assignment
favorite_animal ||= "dog" favorite_animal ||= "cat"
What hotkeys can you use in a Python shell to repeat the previous command you typed?
Answer: Alt - p p stands for previous. If you keep pressing Alt - p, you will continue cycling back through commands you typed before. I...
Codecademy: "Unless"
#sample solution hungry = false unless hungry puts "I'm writing Ruby programs!" else puts "Time to eat!...
Codeschool Sample Solution Selecting Direct Children
$("#tours > li")
Codecademy: The sum of scores
#sample solution grades = [100, 100, 90, 40, 80, 100, 85, 70, 90, 65, 90, 85, 50.5] def grade_sum(grades): sum = 0 for grade in gra...
Codeschool Sample Solution Changing Text
$("span").text("$100")
Codecademy: Structure the Webpage
<!--sample solution--> <html> <head> <title>Week 13 Project</title> </head> ...
Codecademy Sample Solution: AJAX
var req = new XMLHttpRequest(); req.onreadystatechange = function() { if (req.readyState == 4 && req.status == 200) { console...