diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json
index 87d00dbfbb..e39b710b92 100644
--- a/seed/challenges/basic-javascript.json
+++ b/seed/challenges/basic-javascript.json
@@ -774,7 +774,7 @@
"// \"friends\": [\"everything!\"]",
"// };",
"",
- "// ourDog.bark(\"arf!\");",
+ "// ourDog.bark = \"arf!\";",
"// delete(ourDog.tails);",
"",
"var myDog = {",
diff --git a/seed/under-construction/json-apis-and-ajax.json b/seed/under-construction/json-apis-and-ajax.json
index f2469887a7..5a74cb3a61 100644
--- a/seed/under-construction/json-apis-and-ajax.json
+++ b/seed/under-construction/json-apis-and-ajax.json
@@ -7,29 +7,42 @@
"title": "Trigger on click Events with jQuery",
"difficulty": 3.19,
"description": [
- ".on('click', function() {
",
- "",
- "});"
+ "$(\"#getMessage\").on(\"click\", function(){
",
+ " $(\".message\").html(\"Here is the message\");
",
+ "});
"
],
"tests": [
-
+ "assert(editor.match(/\\$\\(\\s?\\\"\\#getMessage\\\"\\s?\\)\\.on\\s?\\(\\s?\\\"click\\\"\\,\\s?function\\s?\\(\\)\\s?\\{/gi), 'You should have bound the click event to the getMessage button')",
+ "assert(editor.match(/\\$\\(\\s?\\\"\\.message\\\"\\s?\\)\\.html\\(\\s?\\\"Here\\sis\\sthe\\smessage\\\"\\s?\\);/gi), 'You should set te value of the #message box to be the message given in the description')",
+ "assert(editor.match(/\\}\\);/gi) && editor.match(/\\}\\);/gi).length >= 2, 'Make sure that you close off all of your functions')"
],
"challengeSeed": [
"fccss",
- " $(document).ready(function() {",
- "",
- " });
",
+ " $(document).ready(function() {",
+ " ",
+ " });",
"fcces",
"",
"",
"",
"
rollOut
."
- ],
- "tests": [
-
],
"challengeSeed": [
"fccss",
" $(document).ready(function() {",
- " $(\"button\").on(\"click\", function() {",
- "",
+ " $(\"#getMessage\").on(\"click\", function(){",
+ " $(\".message\").html(\"Here is the message\");",
" });",
" });",
"fcces",
@@ -115,16 +72,23 @@
"",
"",
"#check-me
", - "