Skip to content

Commit

Permalink
add type to challenges
Browse files Browse the repository at this point in the history
  • Loading branch information
Berkeley Martinez authored and Berkeley Martinez committed Aug 8, 2015
1 parent f241a36 commit 26e69c8
Show file tree
Hide file tree
Showing 20 changed files with 535 additions and 267 deletions.
3 changes: 3 additions & 0 deletions common/models/challenge.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"title": {
"type": "string"
},
"type": {
"type": "string"
},
"dashedName": {
"type": "string"
},
Expand Down
9 changes: 6 additions & 3 deletions seed/challenges/advanced-bonfires.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"challenges": [
{
"id": "a2f1d72d9b908d0bd72bb9f6",
"title": "Bonfire: Make a Person",
"title": "Make a Person",
"difficulty": "3.01",
"description": [
"Fill in the object constructor with the methods specified in the tests.",
Expand Down Expand Up @@ -41,6 +41,7 @@
"Closures",
"Details of the Object Model"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
Expand All @@ -55,7 +56,7 @@
},
{
"id": "af4afb223120f7348cdfc9fd",
"title": "Bonfire: Map the Debris",
"title": "Map the Debris",
"difficulty": "3.02",
"description": [
"Return a new array that transforms the element's average altitude into their orbital periods.",
Expand All @@ -81,6 +82,7 @@
"MDNlinks": [
"Math.pow()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
Expand All @@ -95,7 +97,7 @@
},
{
"id": "a3f503de51cfab748ff001aa",
"title": "Bonfire: Pairwise",
"title": "Pairwise",
"difficulty": "3.03",
"description": [
"Return the sum of all indices of elements of 'arr' that can be paired with one other element to form a sum that equals the value in the second argument 'arg'. If multiple sums are possible, return the smallest sum. Once an element has been used, it cannot be reused to pair with another.",
Expand All @@ -120,6 +122,7 @@
"MDNlinks": [
"Array.reduce()"
],
"type": "bonfire",
"challengeType": 5,
"nameCn": "",
"descriptionCn": [],
Expand Down
15 changes: 10 additions & 5 deletions seed/challenges/angularjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
"challenges": [
{
"id": "bd7154d8c441eddfaeb5bdef",
"title": "Waypoint: Get Started with Angular.js",
"title": "Get Started with Angular.js",
"difficulty": 0.34,
"challengeSeed": ["114684726"],
"description": [
"Code School has a short, free Angular.js course. This will give us a quick tour of Angular.js's mechanics and features.",
"In this course, we'll build a virtual shop entirely in Angular.js.",
"Go to <a href='http://campus.codeschool.com/courses/shaping-up-with-angular-js/level/1/section/1/video/1' target='_blank'>http://campus.codeschool.com/courses/shaping-up-with-angular-js/level/1/section/1/video/1</a> and complete the section."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
Expand All @@ -27,14 +28,15 @@
},
{
"id": "bd7155d8c441eddfaeb5bdef",
"title": "Waypoint: Apply Angular.js Directives",
"title": "Apply Angular.js Directives",
"difficulty": 0.35,
"challengeSeed": ["114684727"],
"description": [
"Directives serve as markers in your HTML. When Angular.js compiles your HTML, it will can alter the behavior of DOM elements based on the directives you've used.",
"Let's learn how these powerful directives work, and how to use them to make your web apps more dynamic",
"Go to <a href='http://campus.codeschool.com/courses/shaping-up-with-angular-js/level/2/section/1/video/1' target='_blank'>http://campus.codeschool.com/courses/shaping-up-with-angular-js/level/2/section/1/video/1</a> and complete the section."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
Expand All @@ -50,14 +52,15 @@
},
{
"id": "bd7156d8c441eddfaeb5bdef",
"title": "Waypoint: Power Forms with Angular.js",
"title": "Power Forms with Angular.js",
"difficulty": 0.36,
"challengeSeed": ["114684729"],
"description": [
"One area where Angular.js really shines is its powerful web forms.",
"Learn how to create reactive Angular.js forms, including real-time form validation.",
"Go to <a href='http://campus.codeschool.com/courses/shaping-up-with-angular-js/level/3/section/1/video/1' target='_blank'>http://campus.codeschool.com/courses/shaping-up-with-angular-js/level/3/section/1/video/1</a> and complete the section."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
Expand All @@ -73,13 +76,14 @@
},
{
"id": "bd7157d8c441eddfaeb5bdef",
"title": "Waypoint: Customize Angular.js Directives",
"title": "Customize Angular.js Directives",
"difficulty": 0.37,
"challengeSeed": ["114685062"],
"description": [
"Now we'll learn how to modify existing Angular.js directives, and even build directives of your own.",
"Go to <a href='http://campus.codeschool.com/courses/shaping-up-with-angular-js/level/4/section/1/video/1' target='_blank'>http://campus.codeschool.com/courses/shaping-up-with-angular-js/level/4/section/1/video/1</a> and complete the section."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
Expand All @@ -95,14 +99,15 @@
},
{
"id": "bd7158d8c441eddfaeb5bdef",
"title": "Waypoint: Create Angular.js Services",
"title": "Create Angular.js Services",
"difficulty": 0.38,
"challengeSeed": ["114685060"],
"description": [
"Services are functions that you can use and reuse throughout your Angular.js app to get things done.",
"We'll learn how to use services in this final Code School Angular.js challenge.",
"Go to <a href='http://campus.codeschool.com/courses/shaping-up-with-angular-js/level/5/section/1/video/1' target='_blank'>http://campus.codeschool.com/courses/shaping-up-with-angular-js/level/5/section/1/video/1</a> and complete the section."
],
"type": "waypoint",
"challengeType": 2,
"tests": [],
"nameCn": "",
Expand Down
18 changes: 12 additions & 6 deletions seed/challenges/basejumps.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"challenges": [
{
"id": "bd7158d8c443eddfaeb5bcef",
"title": "Waypoint: Get Set for Basejumps",
"title": "Get Set for Basejumps",
"difficulty": 2.00,
"challengeSeed": ["128451852"],
"description": [
Expand Down Expand Up @@ -59,12 +59,13 @@
"If you need further guidance on using Yeoman Angular-Fullstack Generator, check out: <a href='https://github.com/clnhll/guidetobasejumps' target='_blank'>https://github.com/clnhll/guidetobasejumps</a>.",
"Now you're ready to move on to your first Basejump. Click the \"I've completed this challenge\" and move on."
],
"type": "waypoint",
"challengeType": 2,
"tests": []
},
{
"id": "bd7158d8c443eddfaeb5bdef",
"title": "Basejump: Build a Voting App",
"title": "Build a Voting App",
"difficulty": 2.01,
"challengeSeed": ["133315786"],
"description": [
Expand All @@ -85,6 +86,7 @@
"Once you've finished implementing these user stories, click the \"I've completed this challenge\" button and enter the URLs for both your GitHub repository and your live app running on Heroku. If you pair programmed with a friend, enter his or her Free Code Camp username as well so that you both get credit for completing it.",
"If you'd like immediate feedback on your project, click this button and paste in a link to your Heroku project. Otherwise, we'll review it before you start your nonprofit projects.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>"
],
"type": "basejumps",
"challengeType": 4,
"tests": [],
"nameCn": "",
Expand All @@ -100,7 +102,7 @@
},
{
"id": "bd7158d8c443eddfaeb5bdff",
"title": "Basejump: Build a Nightlife Coordination App",
"title": "Build a Nightlife Coordination App",
"difficulty": 2.02,
"challengeSeed": ["133315781"],
"description": [
Expand All @@ -118,6 +120,7 @@
"Once you've finished implementing these user stories, click the \"I've completed this challenge\" button and enter the URLs for both your GitHub repository and your live app running on Heroku. If you pair programmed with a friend, enter his or her Free Code Camp username as well so that you both get credit for completing it.",
"If you'd like immediate feedback on your project, click this button and paste in a link to your Heroku project. Otherwise, we'll review it before you start your nonprofit projects.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>"
],
"type": "basejumps",
"challengeType": 4,
"tests": [],
"nameCn": "",
Expand All @@ -133,7 +136,7 @@
},
{
"id": "bd7158d8c443eddfaeb5bd0e",
"title": "Basejump: Chart the Stock Market",
"title": "Chart the Stock Market",
"difficulty": 2.03,
"challengeSeed": ["133315787"],
"description": [
Expand All @@ -150,6 +153,7 @@
"Once you've finished implementing these user stories, click the \"I've completed this challenge\" button and enter the URLs for both your GitHub repository and your live app running on Heroku. If you pair programmed with a friend, enter his or her Free Code Camp username as well so that you both get credit for completing it.",
"If you'd like immediate feedback on your project, click this button and paste in a link to your Heroku project. Otherwise, we'll review it before you start your nonprofit projects.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>"
],
"type": "basejumps",
"challengeType": 4,
"tests": [],
"nameCn": "",
Expand All @@ -165,7 +169,7 @@
},
{
"id": "bd7158d8c443eddfaeb5bd0f",
"title": "Basejump: Manage a Book Trading Club",
"title": "Manage a Book Trading Club",
"difficulty": 2.04,
"challengeSeed": ["133316032"],
"description": [
Expand All @@ -182,6 +186,7 @@
"Once you've finished implementing these user stories, click the \"I've completed this challenge\" button and enter the URLs for both your GitHub repository and your live app running on Heroku. If you pair programmed with a friend, enter his or her Free Code Camp username as well so that you both get credit for completing it.",
"If you'd like immediate feedback on your project, click this button and paste in a link to your Heroku project. Otherwise, we'll review it before you start your nonprofit projects.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>"
],
"type": "basejumps",
"challengeType": 4,
"tests": [],
"nameCn": "",
Expand All @@ -197,7 +202,7 @@
},
{
"id": "bd7158d8c443eddfaeb5bdee",
"title": "Basejump: Build a Pinterest Clone",
"title": "Build a Pinterest Clone",
"difficulty": 2.05,
"challengeSeed": ["133315784"],
"description": [
Expand All @@ -217,6 +222,7 @@
"Once you've finished implementing these user stories, click the \"I've completed this challenge\" button and enter the URLs for both your GitHub repository and your live app running on Heroku. If you pair programmed with a friend, enter his or her Free Code Camp username as well so that you both get credit for completing it.",
"If you'd like immediate feedback on your project, click this button and paste in a link to your Heroku project. Otherwise, we'll review it before you start your nonprofit projects.<br><br><a class='btn btn-primary btn-block' href='https://twitter.com/intent/tweet?text=Check%20out%20the%20project%20I%20just%20built%20with%20%40FreeCodeCamp:%20%0A%20%23LearnToCode%20%23JavaScript' target='_blank'>Click here then add your link to your tweet's text</a>"
],
"type": "basejumps",
"challengeType": 4,
"tests": [],
"nameCn": "",
Expand Down
Loading

0 comments on commit 26e69c8

Please sign in to comment.