From 8077d37f118da5c574962f6f513292c77563fce5 Mon Sep 17 00:00:00 2001 From: Quincy Larson Date: Sun, 17 May 2015 16:57:16 -0700 Subject: [PATCH] add coursewares and note to zipline basejump views --- seed_data/coursewares.json | 98 ++++++++++++++++++++ views/coursewares/showZiplineOrBasejump.jade | 7 ++ 2 files changed, 105 insertions(+) diff --git a/seed_data/coursewares.json b/seed_data/coursewares.json index 28f2a0bff3a..243cf5208f7 100644 --- a/seed_data/coursewares.json +++ b/seed_data/coursewares.json @@ -3065,6 +3065,101 @@ "completionMessage": "" }, + { + "_id" : "bad87fee1348bd9aeb908845", + "name": "Line up Form Elements Responsively with Bootstrap", + "difficulty" : 0.063, + "description": [ + "." + ], + "tests": [ + "assert($('.row').length > 4, 'Wrap your all of your checkboxes inside one div with the class \"row\".')", + "assert($('.col-xs-5').length > 0, 'Wrap each of your checkboxes inside its own div with the class \"col-xs-4\".')", + "assert($('.col-xs-7').length > 0, 'Wrap each of your checkboxes inside its own div with the class \"col-xs-4\".')" + ], + "challengeSeed": [ + "", + "", + "", + "
", + "
", + "

CatPhotoApp

", + "
", + "
", + " ", + "
", + "
", + "
", + "", + "
", + "
", + "
", + " ", + "
", + "
", + " ", + "
", + "
", + " ", + "
", + "
", + "

Things cats love:

", + "", + "

Top 3 things cats hate:

", + "
    ", + "
  1. flea treatment
  2. ", + "
  3. thunder
  4. ", + "
  5. other cats
  6. ", + "
", + "
", + "
", + "
", + "
", + " ", + "
", + "
", + " ", + "
", + "
", + "
", + "
", + "
", + " ", + "
", + "
", + " ", + "
", + "
", + " ", + "
", + "
", + "
", + " ", + " ", + "
" + ], + "challengeType": 0, + "completionMessage": "" + }, + + + { "_id": "bad88fee1348bd9aedf08825", "name": "Adjusting the Padding of an Element", @@ -3776,6 +3871,9 @@ "challengeSeed": "125658022", "description": [ "Now you're ready to start our Zipline challenges. These front-end development challenges will give you many opportunities to apply the HTML, CSS, jQuery and JavaScript you've learned to build static (database-less) applications.", + "For many of these challenges, you will be using JSON data from API endpoints. This takes some getting used to.", + "You will use the following two functions in many Ziplines: JSON.parse() and jQuery $.each().", + "Whatever you do, don't get discouraged! Remember to use RSAP if you get stuck.", "We'll build these challenges using CodePen, a popular tool for creating, sharing, and discovering static web applications.", "Go to http://codepen.io and create an account.", "Click your user image in the top right corner, then click the \"New pen\" button that drops down.", diff --git a/views/coursewares/showZiplineOrBasejump.jade b/views/coursewares/showZiplineOrBasejump.jade index 5be1d7d897d..7695c6fff82 100644 --- a/views/coursewares/showZiplineOrBasejump.jade +++ b/views/coursewares/showZiplineOrBasejump.jade @@ -3,6 +3,13 @@ block content .row .col-xs-12.col-sm-12.col-md-4.bonfire-top h1.text-center= name + p.text-center Tips: Use  + a(href='/field-guide/how-do-i-get-help-when-I-get-stuck') RSAP + | . Try using  + a(href='https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse') JSON.parse() + |  and  + a(href='http://api.jquery.com/jquery.each/') $.each() + |  with APIs. .well h4 ol