From bc8a677be5a7c82bb483e65985c66dccbc6d3ad6 Mon Sep 17 00:00:00 2001 From: Quincy Larson Date: Tue, 30 Jun 2015 18:17:20 -0700 Subject: [PATCH] finish the color priority section of basic-html --- seed/challenges/basic-html5-and-css.json | 20 +++---- seed/challenges/ziplines.json | 76 ++++++++++++------------ 2 files changed, 48 insertions(+), 48 deletions(-) diff --git a/seed/challenges/basic-html5-and-css.json b/seed/challenges/basic-html5-and-css.json index 0c360f7043..5e23679472 100644 --- a/seed/challenges/basic-html5-and-css.json +++ b/seed/challenges/basic-html5-and-css.json @@ -3226,11 +3226,11 @@ " .pink-text {", " color: pink;", " }", - " .green-text {", - " color: green;", + " .blue-text {", + " color: blue;", " }", "", - "

Hello World!

" + "

Hello World!

" ], "challengeType": 0, "nameCn": "", @@ -3248,17 +3248,17 @@ }, { "id": "bad87fee1348bd9aedf07756", - "name": "Waypoint: Override All Other Styles with !important", - "dashedName": "waypoint-all-other-styles-with-important", + "name": "Waypoint: Override All Other Styles by using Important", + "dashedName": "waypoint-override-all-other-styles-by-using-important", "difficulty": 0.053, "description": [ + ".pink-text { color: pink !important; }" ], "tests": [ "assert($('h1').hasClass('pink-text'), 'Your h1 element should have the class \"pink-text\".')", "assert($('h1').hasClass('blue-text'), 'Your h1 element should have the class \"blue-text\".')", "assert(!$('h1').hasClass('white-text'), 'Your h1 element should have the inline style of \"color: white\".')", - "assert($('h1').hasClass('yellow-text'), 'Your h1 element should have the class \"yellow-text\".')", - "assert($('h1').css('color') === 'rgb(255, 255, 0)', 'Your h1 element should be yellow.')" + "assert($('h1').css('color') === 'rgb(255, 192, 203)', 'Your h1 element should be pink.')" ], "challengeSeed": [ "", - "

Hello World!

" + "

Hello World!

" ], "challengeType": 0, "nameCn": "", diff --git a/seed/challenges/ziplines.json b/seed/challenges/ziplines.json index 11b1b15f9f..02571408c2 100644 --- a/seed/challenges/ziplines.json +++ b/seed/challenges/ziplines.json @@ -37,47 +37,11 @@ "namePt": "", "descriptionPt": [] }, - { - "id": "bd7158d8c442eddfaeb5bd1f", - "name": "Zipline: Use the Twitch.tv JSON API", - "dashedName": "zipline-use-the-twitchtv-json-api", - "difficulty": 1.01, - "challengeSeed": ["126411564"], - "description": [ - "Objective: Build a CodePen.io that successfully reverse-engineers this: http://codepen.io/GeoffStorbeck/full/GJKRxZ.", - "Rule #1: Don't look at the example project's code. Figure it out for yourself.", - "Rule #2: You may use whichever libraries or APIs you need.", - "Rule #3: Reverse engineer the example project's functionality, and also feel free to personalize it.", - "Here are the user stories you must enable, and optional bonus user stories:", - "User Story: As a user, I can see whether Free Code Camp is currently streaming on Twitch.tv.", - "User Story: As a user, I can click the status output and be sent directly to the Free Code Camp's Twitch.tv channel.", - "User Story: As a user, if Free Code Camp is streaming, I can see additional details about what they are streaming.", - "Bonus User Story: As a user, I can search through the streams listed.", - "Hint: Here's an example call to Twitch.tv's JSON API: https://api.twitch.tv/kraken/streams/freecodecamp.", - "Hint: The relevant documentation about this API call is here: https://github.com/justintv/Twitch-API/blob/master/v3_resources/streams.md#get-streamschannel.", - "Hint: Here's an array of the Twitch.tv usernames of people who regularly stream coding: [\"freecodecamp\", \"storbeck\", \"terakilobyte\", \"habathcx\",\"RobotCaleb\",\"comster404\",\"brunofin\",\"thomasballinger\",\"noobs2ninjas\",\"beohoff\"]", - "Remember to use RSAP if you get stuck. Try using jQuery's $.getJSON() to consume APIs.", - "When you are finished, click the \"I've completed this challenge\" button and include a link to your CodePen. If you pair programmed, you should also include the Free Code Camp username of your pair.", - "If you'd like immediate feedback on your project, click this button and paste in a link to your CodePen project. Otherwise, we'll review it before you start your nonprofit projects.

Click here then add your link to your tweet's text" - ], - "challengeType": 3, - "tests": [], - "nameCn": "", - "descriptionCn": [], - "nameFr": "", - "descriptionFr": [], - "nameRu": "", - "descriptionRu": [], - "nameEs": "", - "descriptionEs": [], - "namePt": "", - "descriptionPt": [] - }, { "id": "bd7158d8c442eddfaeb5bd13", "name": "Zipline: Build a Random Quote Machine", "dashedName": "zipline-build-a-random-quote-machine", - "difficulty": 1.02, + "difficulty": 1.01, "challengeSeed": ["126415122"], "description": [ "Objective: Build a CodePen.io that successfully reverse-engineers this: http://codepen.io/AdventureBear/full/vEoVMw.", @@ -108,7 +72,7 @@ "id": "bd7158d8c442eddfaeb5bd10", "name": "Zipline: Show the Local Weather", "dashedName": "zipline-show-the-local-weather", - "difficulty": 1.03, + "difficulty": 1.02, "challengeSeed": ["126415127"], "description": [ "Objective: Build a CodePen.io that successfully reverse-engineers this: http://codepen.io/AdventureBear/full/yNBJRj.", @@ -137,6 +101,42 @@ "namePt": "", "descriptionPt": [] }, + { + "id": "bd7158d8c442eddfaeb5bd1f", + "name": "Zipline: Use the Twitch.tv JSON API", + "dashedName": "zipline-use-the-twitchtv-json-api", + "difficulty": 1.03, + "challengeSeed": ["126411564"], + "description": [ + "Objective: Build a CodePen.io that successfully reverse-engineers this: http://codepen.io/GeoffStorbeck/full/GJKRxZ.", + "Rule #1: Don't look at the example project's code. Figure it out for yourself.", + "Rule #2: You may use whichever libraries or APIs you need.", + "Rule #3: Reverse engineer the example project's functionality, and also feel free to personalize it.", + "Here are the user stories you must enable, and optional bonus user stories:", + "User Story: As a user, I can see whether Free Code Camp is currently streaming on Twitch.tv.", + "User Story: As a user, I can click the status output and be sent directly to the Free Code Camp's Twitch.tv channel.", + "User Story: As a user, if Free Code Camp is streaming, I can see additional details about what they are streaming.", + "Bonus User Story: As a user, I can search through the streams listed.", + "Hint: Here's an example call to Twitch.tv's JSON API: https://api.twitch.tv/kraken/streams/freecodecamp.", + "Hint: The relevant documentation about this API call is here: https://github.com/justintv/Twitch-API/blob/master/v3_resources/streams.md#get-streamschannel.", + "Hint: Here's an array of the Twitch.tv usernames of people who regularly stream coding: [\"freecodecamp\", \"storbeck\", \"terakilobyte\", \"habathcx\",\"RobotCaleb\",\"comster404\",\"brunofin\",\"thomasballinger\",\"noobs2ninjas\",\"beohoff\"]", + "Remember to use RSAP if you get stuck. Try using jQuery's $.getJSON() to consume APIs.", + "When you are finished, click the \"I've completed this challenge\" button and include a link to your CodePen. If you pair programmed, you should also include the Free Code Camp username of your pair.", + "If you'd like immediate feedback on your project, click this button and paste in a link to your CodePen project. Otherwise, we'll review it before you start your nonprofit projects.

Click here then add your link to your tweet's text" + ], + "challengeType": 3, + "tests": [], + "nameCn": "", + "descriptionCn": [], + "nameFr": "", + "descriptionFr": [], + "nameRu": "", + "descriptionRu": [], + "nameEs": "", + "descriptionEs": [], + "namePt": "", + "descriptionPt": [] + }, { "id": "bd7158d8c442eddfaeb5bd18", "name": "Zipline: Stylize Stories on Camper News",