diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000000..78e8e395da --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,2 @@ +We're getting a lot of duplicate issues and bug reports that just aren't reporting actual bugs. +So, before you submit your issue, please read the [Help! I've Found a Bug](https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/Help!-I've-Found-a-Bug) wiki page. diff --git a/public/js/main_0.0.3.js b/public/js/main_0.0.3.js index a22435b898..8a72664bbf 100644 --- a/public/js/main_0.0.3.js +++ b/public/js/main_0.0.3.js @@ -62,7 +62,7 @@ $(document).ready(function() { $('.close-modal').unbind('click'); $('.close-modal').on('click', function(){ setTimeout(function() { - $('#help-modal').modal('hide'); + $('.close-modal').parent().parent().parent().parent().modal('hide'); }, 200); }); diff --git a/seed/challenges/basic-javascript.json b/seed/challenges/basic-javascript.json index cf16fb13db..e5d5408fcc 100644 --- a/seed/challenges/basic-javascript.json +++ b/seed/challenges/basic-javascript.json @@ -843,7 +843,7 @@ "  ourArray.push(i);", "  i++;", "}", - "Let's try getting a for loop to work by pushing values to an array." + "Let's try getting a while loop to work by pushing values to an array." ], "tests":[ "assert(editor.getValue().match(/while/g), 'You should be using a while loop for this.');", diff --git a/seed/challenges/jquery.json b/seed/challenges/jquery.json index e3ed5de816..8576e4bc0d 100644 --- a/seed/challenges/jquery.json +++ b/seed/challenges/jquery.json @@ -786,7 +786,7 @@ "difficulty": 3.16, "description": [ "You can also target all the even-numbered elements.", - "Here's how you would target all the odd-numbered elements with class target and give them classes: $('.target:odd').addClass('animated shake');", + "Here's how you would target all the odd-numbered elements with class target and give them classes: $(\".target:odd\").addClass(\"animated shake\");", "Try selecting all the even-numbered elements - that is, what your browser will consider even-numbered elements - and giving them the classes of animated and shake." ], "tests": [ diff --git a/server/views/partials/challenge-modals.jade b/server/views/partials/challenge-modals.jade index 4046a74c54..21244c383d 100644 --- a/server/views/partials/challenge-modals.jade +++ b/server/views/partials/challenge-modals.jade @@ -9,7 +9,7 @@ a(href='//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-install-Screenhero' target='_blank') Screenhero | . h3 Other campers may then message you about pair programming. - a.btn.btn-lg.btn-primary.btn-block(href='https://gitter.im/FreeCodeCamp/LetsPair', data-dismiss='modal', aria-hidden='true' target='_blank') Take me to the pair programming room + a.btn.btn-lg.btn-primary.btn-block.close-modal(href='https://gitter.im/FreeCodeCamp/LetsPair', target='_blank') Take me to the pair programming room a.btn.btn-lg.btn-info.btn-block(href='#', data-dismiss='modal', aria-hidden='true') Cancel #issue-modal.modal(tabindex='-1')