{"query_id": "q-en-freeCodeCamp-766774c8c8cf90507ee7b46c9a381a9bf3ac86d981e1d459cd1a1b07b87db18f", "query": "Password form button does not respond to click. Additionally the jumbotron div that is meant to have a white background for the form is too short (only approx 96px and form is 317px).\nLui8906 can you confirm the issue is resolved so we can close it?\nStill when I am at the reset form after recieving the email and following the link, I put in a matching password and the button does not do anything or provide any feedback, are there password requirements? etc..\nOk, thanks. To confirm, this is on password reset, after requesting to reset password? I'll look into it, thanks.\nYep On Tue Jan 13 2015 at 8:57:53 AM Nathan wrote:\nWe've fixed this with our recent pull request.", "positive_passages": [{"docid": "doc-en-freeCodeCamp-a64f1d87dd0b110303cc38a4cc0afcaebaa69c55c2547808ba1ec1b7af68ed08", "text": "{ \"node\": true /* * ENVIRONMENTS * ================= */ // Define globals exposed by Node.js. \"node\": true, /* * ENFORCING OPTIONS * ================= */ // Force all variable names to use either camelCase style or UPPER_CASE // with underscores. \"camelcase\": true, // Prohibit use of == and != in favor of === and !==. \"eqeqeq\": true, // Suppress warnings about == null comparisons. \"eqnull\": true, // Enforce tab width of 2 spaces. \"indent\": 2, // Prohibit use of a variable before it is defined. \"latedef\": true, // Require capitalized names for constructor functions. \"newcap\": true, // Enforce use of single quotation marks for strings. \"quotmark\": \"single\", // Prohibit trailing whitespace. \"trailing\": true, // Prohibit use of explicitly undeclared variables. \"undef\": true, // Warn when variables are defined but never used. \"unused\": true, // Enforce line length to 80 characters \"maxlen\": 80 }", "commid": "freeCodeCamp_pr_2"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-766774c8c8cf90507ee7b46c9a381a9bf3ac86d981e1d459cd1a1b07b87db18f", "query": "Password form button does not respond to click. Additionally the jumbotron div that is meant to have a white background for the form is too short (only approx 96px and form is 317px).\nLui8906 can you confirm the issue is resolved so we can close it?\nStill when I am at the reset form after recieving the email and following the link, I put in a matching password and the button does not do anything or provide any feedback, are there password requirements? etc..\nOk, thanks. To confirm, this is on password reset, after requesting to reset password? I'll look into it, thanks.\nYep On Tue Jan 13 2015 at 8:57:53 AM Nathan wrote:\nWe've fixed this with our recent pull request.", "positive_passages": [{"docid": "doc-en-freeCodeCamp-78ba46e386c37d6b99f989267de7006cdf68144f63df2a048b70fb9c4444950a", "text": " { /* * ENVIRONMENTS * ================= */ // Define globals exposed by modern browsers. \"browser\": true, // Define globals exposed by jQuery. \"jquery\": true, /* * ENFORCING OPTIONS * ================= */ // Force all variable names to use either camelCase style or UPPER_CASE // with underscores. \"camelcase\": true, // Prohibit use of == and != in favor of === and !==. \"eqeqeq\": true, // Suppress warnings about == null comparisons. \"eqnull\": true, // Enforce tab width of 2 spaces. \"indent\": 2, // Prohibit use of a variable before it is defined. \"latedef\": true, // Require capitalized names for constructor functions. \"newcap\": true, // Enforce use of single quotation marks for strings. \"quotmark\": \"single\", // Prohibit trailing whitespace. \"trailing\": true, // Prohibit use of explicitly undeclared variables. \"undef\": true, // Warn when variables are defined but never used. \"unused\": true, // Enforce line length to 80 characters \"maxlen\": 80, // Enforce placing 'use strict' at the top function scope \"strict\": true' } ", "commid": "freeCodeCamp_pr_2"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-766774c8c8cf90507ee7b46c9a381a9bf3ac86d981e1d459cd1a1b07b87db18f", "query": "Password form button does not respond to click. Additionally the jumbotron div that is meant to have a white background for the form is too short (only approx 96px and form is 317px).\nLui8906 can you confirm the issue is resolved so we can close it?\nStill when I am at the reset form after recieving the email and following the link, I put in a matching password and the button does not do anything or provide any feedback, are there password requirements? etc..\nOk, thanks. To confirm, this is on password reset, after requesting to reset password? I'll look into it, thanks.\nYep On Tue Jan 13 2015 at 8:57:53 AM Nathan wrote:\nWe've fixed this with our recent pull request.", "positive_passages": [{"docid": "doc-en-freeCodeCamp-788e85ed25dac66e99641c74afc08c8c83d16f4d17e978eaa550fb8280dde013", "text": "\u0648\u0647\u064a \u0645\u0642\u0633\u0645\u0629 \u0625\u0644\u0649 \u0627\u0644\u0641\u0626\u0627\u062a \u0627\u0644\u062a\u0627\u0644\u064a\u0629: * \u0627\u0644\u0623\u0639\u062f\u0627\u062f \u0627\u0644\u0635\u062d\u064a\u062d\u0629 * \u0623\u0631\u0642\u0627\u0645 \u0627\u0644\u0646\u0642\u0637\u0629 \u0627\u0644\u0639\u0627\u0626\u0645\u0629 * \u0627\u0644\u0634\u062e\u0635\u064a\u0627\u062a * \u0627\u0643\u062a\u0628 \u0645\u0646\u0637\u0642\u064a * \u0627\u0644\u0627\u0639\u062f\u0627\u062f \u0627\u0644\u0639\u0634\u0631\u064a\u0629 * \u0627\u0644\u0631\u0645\u0648\u0632 * \u0627\u0644\u0642\u064a\u0645 \u0627\u0644\u0645\u0646\u0637\u0642\u064a\u0629 \u062a\u0641\u0627\u0635\u064a\u0644 \u0643\u0644 \u0646\u0648\u0639 \u0645\u0646 \u0623\u0646\u0648\u0627\u0639 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0645\u0630\u0643\u0648\u0631\u0629 \u0623\u062f\u0646\u0627\u0647: ## \u0627\u0644\u0623\u0639\u062f\u0627\u062f \u0627\u0644\u0635\u062d\u064a\u062d\u0629: \u0647\u0630\u0647 \u0647\u064a \u0645\u0646 \u0623\u0631\u0628\u0639\u0629 \u0623\u0646\u0648\u0627\u0639: `byte` \u060c `short` \u060c `int` \u060c `long` . \u0645\u0646 \u0627\u0644\u0645\u0647\u0645 \u0645\u0644\u0627\u062d\u0638\u0629 \u0623\u0646 \u0647\u0630\u0647 \u0627\u0644\u0642\u064a\u0645 \u0645\u0648\u062c\u0628\u0629 \u0648\u0633\u0627\u0644\u0628\u0629. \u064a\u062a\u0645 \u062a\u062e\u0632\u064a\u0646 \u0627\u0644\u0623\u0639\u062f\u0627\u062f \u0627\u0644\u0635\u062d\u064a\u062d\u0629 \u0641\u064a \u062c\u0647\u0627\u0632 \u0627\u0644\u0643\u0645\u0628\u064a\u0648\u062a\u0631 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 [\u0645\u0643\u0645\u0644 2](http://www.ele.uri.edu/courses/ele447/proj_pages/divid/twos.html) . \u0648\u064a\u062a\u0643\u0648\u0646 \u0645\u0646 \u0642\u064a\u0645 \u0633\u0644\u0628\u064a\u0629 \u0648\u0625\u064a\u062c\u0627\u0628\u064a\u0629 \u0648\u0644\u0643\u0646 \u0628\u0635\u064a\u063a \u0645\u062e\u062a\u0644\u0641\u0629 \u0645\u062b\u0644 `(-1 to -128)` \u0623\u0648 `(0 to +127)` . \u064a\u0645\u0643\u0646 \u0623\u0646 \u064a\u062d\u062a\u0648\u0649 \u0639\u062f\u062f \u0635\u062d\u064a\u062d \u063a\u064a\u0631 \u0645\u0648\u0642\u0639\u0629 \u0639\u0644\u0649 \u0642\u064a\u0645\u0629 \u0645\u0648\u062c\u0628\u0629 \u0623\u0643\u0628\u0631 \u060c \u0648\u0644\u0627 \u062a\u0648\u062c\u062f \u0642\u064a\u0645\u0629 \u0633\u0627\u0644\u0628\u0629 \u0645\u062b\u0644 `(0 to 255)` . \u0639\u0644\u0649 \u0639\u0643\u0633 C ++ \u0644\u0627 \u064a\u0648\u062c\u062f \u0639\u062f\u062f \u0635\u062d\u064a\u062d \u063a\u064a\u0631 \u0645\u0648\u0642\u0639\u0629 \u0641\u064a Java. \u0647\u0630\u0647 \u0647\u064a \u0645\u0646 \u0623\u0631\u0628\u0639\u0629 \u0623\u0646\u0648\u0627\u0639: `byte` \u060c `short` \u060c `int` \u060c `long` . \u0645\u0646 \u0627\u0644\u0645\u0647\u0645 \u0645\u0644\u0627\u062d\u0638\u0629 \u0623\u0646 \u0647\u0630\u0647 \u0627\u0644\u0642\u064a\u0645 \u0645\u0648\u062c\u0628\u0629 \u0648\u0633\u0627\u0644\u0628\u0629. \u064a\u062a\u0645 \u062a\u062e\u0632\u064a\u0646 \u0627\u0644\u0623\u0639\u062f\u0627\u062f \u0627\u0644\u0635\u062d\u064a\u062d\u0629 \u0641\u064a \u062c\u0647\u0627\u0632 \u0627\u0644\u0643\u0645\u0628\u064a\u0648\u062a\u0631 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 [\u0645\u0643\u0645\u0644 2](http://www.ele.uri.edu/courses/ele447/proj_pages/divid/twos.html) . \u0648\u064a\u062a\u0643\u0648\u0646 \u0645\u0646 \u0642\u064a\u0645 \u0633\u0627\u0644\u0628\u0629 \u0648\u0645\u0648\u062c\u0628\u0629 \u0648\u0644\u0643\u0646 \u0628\u0635\u064a\u063a \u0645\u062e\u062a\u0644\u0641\u0629 \u0645\u062b\u0644 `(-1 to -128)` \u0623\u0648 `(0 to +127)` . \u064a\u0645\u0643\u0646 \u0623\u0646 \u064a\u062d\u062a\u0648\u0649 \u0639\u062f\u062f \u0635\u062d\u064a\u062d \u063a\u064a\u0631 \u0645\u0648\u0642\u0639\u0629 \u0639\u0644\u0649 \u0642\u064a\u0645\u0629 \u0645\u0648\u062c\u0628\u0629 \u0623\u0643\u0628\u0631 \u060c \u0648\u0644\u0627 \u062a\u0648\u062c\u062f \u0642\u064a\u0645\u0629 \u0633\u0627\u0644\u0628\u0629 \u0645\u062b\u0644 `(0 to 255)` . \u0639\u0644\u0649 \u0639\u0643\u0633 C ++ \u0644\u0627 \u064a\u0648\u062c\u062f \u0639\u062f\u062f \u0635\u062d\u064a\u062d \u063a\u064a\u0631 \u0645\u0648\u0642\u0639\u0629 \u0641\u064a Java. ### \u0628\u0627\u064a\u062a: ### \u0628\u0627\u064a\u062a (byte): \u0646\u0648\u0639 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0628\u0627\u064a\u062a \u0647\u0648 \u0639\u062f\u062f \u0635\u062d\u064a\u062d \u0645\u0643\u0645\u0644 8 \u0628\u062a \u0645\u0648\u0642\u0639\u0629 \u0627\u062b\u0646\u064a\u0646. `Wrapper Class: Byte `Wrapper Class (\u0627\u0644\u0641\u0626\u0629): Byte Minimum value: -128 (-2^7) Minimum value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0627\u0635\u063a\u0631): -128 (-2^7) Maximum value: 127 (2^7 -1) Maximum value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0642\u0635\u0648\u0649): 127 (2^7 -1) Default value: 0 Default value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a\u0629): 0 Example: byte a = 10 , byte b = -50; Example (\u0645\u062b\u0627\u0644): byte a = 10 , byte b = -50; ` ### \u0642\u0635\u064a\u0631\u0629: ### \u0642\u0635\u064a\u0631\u0629 (short): \u0646\u0648\u0639 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u0642\u0635\u064a\u0631 \u0647\u0648 \u0639\u062f\u062f \u0635\u062d\u064a\u062d \u0645\u0643\u0645\u0644 \u0645\u0646 16 \u0628\u062a \u0645\u0648\u0642\u0639\u0629 \u0627\u062b\u0646\u064a\u0646. `Wrapper Class: Short `Wrapper Class (\u0627\u0644\u0641\u0626\u0629): Short Minimum value: -32,768 (-2^15) Minimum value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0635\u063a\u0631\u0649): -32,768 (-2^15) Maximum value: 32,767 (2^15 -1) Maximum value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0642\u0635\u0648\u0649): 32,767 (2^15 -1) Default value: 0. Default value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a\u0629): 0. Example: short s = 10, short r = -1000; Example (\u0645\u062b\u0627\u0644): short s = 10, short r = -1000; ` ### \u0627\u0644\u0628\u0627\u062d\u062b: ### \u0627\u0644\u0639\u062f\u062f \u0627\u0644\u0635\u062d\u064a\u062d (integer): \u0646\u0648\u0639 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a IN \u0647\u0648 \u0639\u062f\u062f \u0635\u062d\u064a\u062d \u0645\u0643\u0645\u0644 32 \u0628\u062a \u0645\u0648\u0642\u0639\u0629 \u0627\u062b\u0646\u064a\u0646. \u064a\u062a\u0645 \u0627\u0633\u062a\u062e\u062f\u0627\u0645\u0647 \u0628\u0634\u0643\u0644 \u0639\u0627\u0645 \u0643\u0646\u0648\u0639 \u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0641\u062a\u0631\u0627\u0636\u064a \u0644\u0644\u0642\u064a\u0645 \u0627\u0644\u0645\u062a\u0643\u0627\u0645\u0644\u0629 \u0625\u0644\u0627 \u0625\u0630\u0627 \u0643\u0627\u0646 \u0647\u0646\u0627\u0643 \u0642\u0644\u0642 \u062d\u0648\u0644 \u0627\u0644\u0630\u0627\u0643\u0631\u0629. `Wrapper Class: Integer `Wrapper Class (\u0627\u0644\u0641\u0626\u0629): Integer Minimum value: (-2^31) Minimum value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0635\u063a\u0631\u0649): (-2^31) Maximum value: (2^31 -1) Maximum value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0642\u0635\u0648\u0649): (2^31 -1) The default value: 0. The default value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a\u0629): 0. Example: int a = 50000, int b = -20 Example (\u0645\u062b\u0627\u0644): int a = 50000, int b = -20 ` ### \u0637\u0648\u064a\u0644: ### \u0637\u0648\u064a\u0644 (long): \u0646\u0648\u0639 \u0628\u064a\u0627\u0646\u0627\u062a \u0637\u0648\u064a\u0644 \u0647\u0648 \u0639\u062f\u062f \u0635\u062d\u064a\u062d \u0645\u0643\u0645\u0644 64 \u0628\u062a \u0645\u0648\u0642\u0639\u0629 \u0627\u062b\u0646\u064a\u0646. `Wrapper Class: Long `Wrapper Class (\u0627\u0644\u0641\u0626\u0629): Long Minimum value: (-2^63) Minimum value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0635\u063a\u0631\u0649): (-2^63) Maximum value: (2^63 -1) Maximum value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0642\u0635\u0648\u0649): (2^63 -1) Default value: 0L. Default value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a\u0629): 0L. Example: long a = 100000L, long b = -600000L; Example (\u0645\u062b\u0627\u0644): long a = 100000L, long b = -600000L; By default all integer type variable is \"int\". So long num=600851475143 will give an error. But it can be specified as long by appending the suffix L (or l) ` ## \u0646\u0642\u0637\u0629 \u0639\u0627\u0626\u0645\u0629: ## \u0627\u0639\u062f\u0627\u062f \u0639\u0634\u0631\u064a\u0629: \u062a\u0633\u0645\u0649 \u0647\u0630\u0647 \u0623\u064a\u0636\u064b\u0627 \u0623\u0631\u0642\u0627\u0645\u064b\u0627 \u062d\u0642\u064a\u0642\u064a\u0629 \u0648\u062a\u0633\u062a\u062e\u062f\u0645 \u0644\u0644\u062a\u0639\u0628\u064a\u0631\u0627\u062a \u0627\u0644\u062a\u064a \u062a\u062a\u0636\u0645\u0646 \u062f\u0642\u0629 \u0643\u0633\u0631\u064a\u0629. \u0647\u0630\u0647 \u0645\u0646 \u0646\u0648\u0639\u064a\u0646: `float` \u060c `double` . \u064a\u062a\u0645 \u062a\u062c\u0646\u0628 Float \u0641\u0639\u0644\u064a\u064b\u0627 \u0641\u064a \u062d\u0627\u0644\u0629 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u062f\u0642\u064a\u0642\u0629 \u0645\u062b\u0644 \u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u0639\u0645\u0644\u0627\u062a \u0623\u0648 \u0627\u0644\u0623\u0628\u062d\u0627\u062b. ### \u062a\u0637\u0641\u0648: ### \u062a\u0637\u0641\u0648 (float): \u0646\u0648\u0639 \u0628\u064a\u0627\u0646\u0627\u062a \u0639\u0627\u0626\u0645 \u0639\u0628\u0627\u0631\u0629 \u0639\u0646 [\u0646\u0642\u0637\u0629 \u0639\u0627\u0626\u0645\u0629 IEEE 754](http://steve.hollasch.net/cgindex/coding/ieeefloat.html) \u0630\u0627\u062a \u062f\u0642\u0629 \u0648\u0627\u062d\u062f\u0629 32 \u0628\u062a. `Wrapper Class: Float `Wrapper Class (\u0627\u0644\u0641\u0626\u0629): Float Float is mainly used to save memory in large arrays of floating point numbers. \u0627\u0633\u0627\u0633\u0627 \u062a\u0633\u062a\u062e\u062f\u0645 \u0644\u062d\u0641\u0638 \u0627\u0644\u0630\u0627\u0643\u0631\u0629 \u0641\u064a \u0627\u0644\u0645\u0635\u0641\u0648\u0641\u0627\u062a \u0627\u0644\u0645\u0643\u0648\u0646\u0629 \u0645\u0646 \u0627\u0644\u0627\u0631\u0642\u0627\u0645 \u0627\u0644\u0639\u0634\u0631\u064a\u0629 \u0630\u0627\u062a \u062f\u0642\u0629 \u0648\u0627\u062d\u062f\u0629(float) Default value: 0.0f. Default value (\u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a\u0629): 0.0f. Example: float f1 = 24.5f; Example (\u0645\u062b\u0627\u0644): float f1 = 24.5f; The default data type of floating-point number is double. So float f = 24.5 will introduce an error. \u0646\u0648\u0639 \u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a\u0629 \u0644\u0644\u0627\u0631\u0642\u0627\u0645 \u0627\u0644\u0639\u0634\u0631\u064a\u0629 \u0630\u0627\u062a \u062f\u0642\u0629 \u0648\u0627\u062d\u062f\u0629 \u0647\u0648 \u0645\u0632\u062f\u0648\u062c. \u0645\u062b\u0627\u0644: float f = 24.5 \u0633\u062a\u0638\u0647\u0631 \u062e\u0637\u0627 \u0644\u0644\u0645\u0633\u062a\u062e\u062f\u0645 However, we can append the suffix F (or f) to designate the data type as float. \u0644\u0643\u0646, \u0628\u0627\u0645\u0643\u0627\u0646\u0646\u0627 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 F(or f) \u0644\u062a\u0639\u064a\u064a\u0646 \u062a\u0648\u0639 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0643\u0631\u0642\u0645 \u0639\u0634\u0631\u064a \u0630\u0627\u062a \u062f\u0642\u0629 \u0648\u0627\u062d\u062f\u0629 (float) The default data type of floating-point number is double. So float f = 24.5 will introduce an error. However, we can append the suffix F (or f) to designate the data type as float. ` ### \u0645\u0632\u062f\u0648\u062c: ### \u0645\u0632\u062f\u0648\u062c (double): \u0646\u0648\u0639 \u0628\u064a\u0627\u0646\u0627\u062a \u0645\u0632\u062f\u0648\u062c \u0647\u0648 [\u0646\u0642\u0637\u0629 \u0639\u0627\u0626\u0645 IEEE 754](http://steve.hollasch.net/cgindex/coding/ieeefloat.html) \u0645\u0632\u062f\u0648\u062c\u0629 \u0627\u0644\u062f\u0642\u0629 64 \u0628\u062a. \u0639\u0627\u062f\u0629\u064b \u0645\u0627 \u064a\u0643\u0648\u0646 \u0646\u0648\u0639 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0647\u0630\u0627 \u0647\u0648 \u0627\u0644\u062e\u064a\u0627\u0631 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a. \u064a\u062c\u0628 \u0639\u062f\u0645 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0646\u0648\u0639 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0647\u0630\u0627 \u0645\u0637\u0644\u0642\u064b\u0627 \u0644\u0644\u0642\u064a\u0645 \u0627\u0644\u062f\u0642\u064a\u0642\u0629 \u060c \u0645\u062b\u0644 \u0627\u0644\u0639\u0645\u0644\u0629.", "commid": "freeCodeCamp_pr_24863"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-766774c8c8cf90507ee7b46c9a381a9bf3ac86d981e1d459cd1a1b07b87db18f", "query": "Password form button does not respond to click. Additionally the jumbotron div that is meant to have a white background for the form is too short (only approx 96px and form is 317px).\nLui8906 can you confirm the issue is resolved so we can close it?\nStill when I am at the reset form after recieving the email and following the link, I put in a matching password and the button does not do anything or provide any feedback, are there password requirements? etc..\nOk, thanks. To confirm, this is on password reset, after requesting to reset password? I'll look into it, thanks.\nYep On Tue Jan 13 2015 at 8:57:53 AM Nathan wrote:\nWe've fixed this with our recent pull request.", "positive_passages": [{"docid": "doc-en-freeCodeCamp-805ad3e384fb06295767ac5bcad30236c3a5d681994725daf735c0f358c9898d", "text": "``` 10198442 ``` No newline at end of file ``` ", "commid": "freeCodeCamp_pr_24863"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-4aacb64252f50e2350cec6f5c0cb2dbde666647300a0c9d0759af62ac31f5963", "query": "On the bonfire page the title should have Learn to code with bonfire | Free Code Camp. Learn to code is our SEO keyword, so we want to implement that when we can.\nI just a title and did a pr instead of an issue :)", "positive_passages": [{"docid": "doc-en-freeCodeCamp-1e5402fbb2e3b148702a2b48e1c016f4826c80acc89e0f53270e482b34026876", "text": "## Byzantine Fault Tolerance Imagine the scenario where there is an empire and there are three generals with their respective armies at different positions. All of them must attack in order to win the fight or they can choose to retreat. Their only means of communications are through pigeon posts. But there is a problem, the generals can't trust each other or ensure that the message has not been corrupted along the way. How do they solve this problem? Blockchain essentially does so by listening to information broadcasted by other people, reaching to a consensus of which information is deemed true. As such, this model asssumes that the amount of \"traitors\" do not exceed more than 1/3 of the entire network. ## Modern Use Cases of Blockchain - Asset Tokenization : Using blockchain technology, previously illiquid assets can now be converted into its tokenized form and cheaply and efficiently fractionalized, traded and settled on chain (rather than go through the lengthy process of clearing and settlement process through third parties like clearing houses) - Supply Chain Management : Blockchains allow multiple parties to access a database to act as the single source of truth. Recorded transactions are immutable, are append only and provide a time stamped audit trail. - Digital Identity : A self sovereign ID can be used to verify identity without needing an individual to produce numerous documents and paperwork each time they need their identity verified. This could be done with a single key that can be matched against an immutable ledger. The digital ID can also collect other online information about a user\u2019s identity like social security information, medical records and social media credentials and have that stored securely on the blockchain. - Energy Market : Blockchain technology can enable the smart metering of electricity generated through an individual\u2019s solar panels to be recorded, traded and settled on a ledger. - Healthcare : Using blockchain technology to record patient information on a distributed ledger can allow different stakeholders conditional access to a single source of truth where each interaction with a patient\u2019s health data can be recorded on a ledger as a transaction with a time stamped audit trail. ## Issues Whilst blockchain technology is undoubtedly elegant, there are several problems that its presence brings, the main one being use my malicious third parties. Due to the extremely secure nature of blockchain, its technologies are often used by criminals to carry out transactions, which are impossible for governments to track.", "commid": "freeCodeCamp_pr_32801"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-ea3fb5de855a4818d86dd0f503987538e32757a1819d39a0489343f394e4b8d0", "query": "Code expects, in one case, for you to only be pulling the key-value pair and treating it as a new individual object, and in the second case, for you to pull the full object that possesses the key-value pair. And output / tests: Fails assert.deepEqual(where([{ 'a': 1 }, { 'a': 1 }, { 'a': 1, 'b': 2 }], { 'a': 1 }), [{ 'a': 1 }, { 'a': 1 }, { 'a': 1 }], 'should return with multiples');AssertionError:should return with multiples: expected [ { a: 1 }, { a: 1 }, { a: 1, b: 2 } ] to deeply equal [ { a: 1 }, { a: 1 }, { a: 1 } ] But Succeeds assert.deepEqual(where([{ first: 'Romeo', last: 'Montague' }, { first: 'Mercutio', last: null }, { first: 'Tybalt', last: 'Capulet' }], { last: 'Capulet' }), [{ first: 'Tybalt', last: 'Capulet' }], 'should return an array of objects');\nSame problem. Going to fix it now.\nCan you please explain for(var key in source)\nthat may be a better question to ask in gitter. See: and", "positive_passages": [{"docid": "doc-en-freeCodeCamp-814f7ba15377430a6a714618ff600b9c391c1d447d33ae817b3b15800ae3ab16", "text": "\"description\": [ \"Write a function that splits an array (first argument) into groups the length of size (second argument) and returns them as a multidimensional array.\" ], \"challengeSeed\": \"function chunk(arr, size) {n // Break it up.rn return arr;rn}nnchunk((['a', 'b', 'c', 'd'], 2));\", \"challengeSeed\": \"function chunk(arr, size) {n // Break it up.rn return arr;rn}nnchunk(['a', 'b', 'c', 'd'], 2);\", \"tests\": [ \"assert.deepEqual(chunk(['a', 'b', 'c', 'd'], 2), [['a', 'b'], ['c', 'd']], 'should return chunked arrays');\", \"assert.deepEqual(chunk([0, 1, 2, 3, 4, 5], 3), [[0, 1, 2], [3, 4, 5]], 'should return chunked arrays');\",", "commid": "freeCodeCamp_pr_99"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-ea3fb5de855a4818d86dd0f503987538e32757a1819d39a0489343f394e4b8d0", "query": "Code expects, in one case, for you to only be pulling the key-value pair and treating it as a new individual object, and in the second case, for you to pull the full object that possesses the key-value pair. And output / tests: Fails assert.deepEqual(where([{ 'a': 1 }, { 'a': 1 }, { 'a': 1, 'b': 2 }], { 'a': 1 }), [{ 'a': 1 }, { 'a': 1 }, { 'a': 1 }], 'should return with multiples');AssertionError:should return with multiples: expected [ { a: 1 }, { a: 1 }, { a: 1, b: 2 } ] to deeply equal [ { a: 1 }, { a: 1 }, { a: 1 } ] But Succeeds assert.deepEqual(where([{ first: 'Romeo', last: 'Montague' }, { first: 'Mercutio', last: null }, { first: 'Tybalt', last: 'Capulet' }], { last: 'Capulet' }), [{ first: 'Tybalt', last: 'Capulet' }], 'should return an array of objects');\nSame problem. Going to fix it now.\nCan you please explain for(var key in source)\nthat may be a better question to ask in gitter. See: and", "positive_passages": [{"docid": "doc-en-freeCodeCamp-fcdd8dd357796a561a09cba2911fb9842b959bfd796be45756c34f710f9102b7", "text": "\"description\": [ \"Return the remaining elements of an array after chopping off n elements from the head.\" ], \"challengeSeed\": \"function slasher(arr) {n // it doesn't allways pay to be firstrn return arr;rn}nnslasher([1, 2, 3], 2);\", \"challengeSeed\": \"function slasher(arr, howMany) {n // it doesn't allways pay to be firstrn return arr;rn}nnslasher([1, 2, 3], 2);\", \"tests\": [ \"assert.deepEqual(slasher([1, 2, 3], 2), [3], 'should drop the first two elements');\", \"assert.deepEqual(slasher([1, 2, 3], 0), [1, 2, 3], 'should return all elements when n < 1');\",", "commid": "freeCodeCamp_pr_99"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-ea3fb5de855a4818d86dd0f503987538e32757a1819d39a0489343f394e4b8d0", "query": "Code expects, in one case, for you to only be pulling the key-value pair and treating it as a new individual object, and in the second case, for you to pull the full object that possesses the key-value pair. And output / tests: Fails assert.deepEqual(where([{ 'a': 1 }, { 'a': 1 }, { 'a': 1, 'b': 2 }], { 'a': 1 }), [{ 'a': 1 }, { 'a': 1 }, { 'a': 1 }], 'should return with multiples');AssertionError:should return with multiples: expected [ { a: 1 }, { a: 1 }, { a: 1, b: 2 } ] to deeply equal [ { a: 1 }, { a: 1 }, { a: 1 } ] But Succeeds assert.deepEqual(where([{ first: 'Romeo', last: 'Montague' }, { first: 'Mercutio', last: null }, { first: 'Tybalt', last: 'Capulet' }], { last: 'Capulet' }), [{ first: 'Tybalt', last: 'Capulet' }], 'should return an array of objects');\nSame problem. Going to fix it now.\nCan you please explain for(var key in source)\nthat may be a better question to ask in gitter. See: and", "positive_passages": [{"docid": "doc-en-freeCodeCamp-4d0883869b833d48b0ea3655822d5459d2864a6679cf6ffe57479e75d51ab8c4", "text": "] }, { \"_id\":\"a8e512fbe388ac2f9198f0fa\", \"name\":\"Where art thou\", \"difficulty\":\"1.55\", \"description\":[ \"Make a function that looks through a list (first argument) and returns an array of all objects that have equivalent property values (second argument).\" ], \"challengeEntryPoint\":\"where([{ first: 'Romeo', last: 'Montague' }, { first: 'Mercutio', last: null }, { first: 'Tybalt', last: 'Capulet' }], { last: 'Capulet' });\", \"challengeSeed\":\"function where(collection, source) {n var arr = [];rn // What's in a name?rn return arr;rn}\", \"tests\":[ \"assert.deepEqual(where([{ first: 'Romeo', last: 'Montague' }, { first: 'Mercutio', last: null }, { first: 'Tybalt', last: 'Capulet' }], { last: 'Capulet' }), [{ first: 'Tybalt', last: 'Capulet' }], 'should return an array of objects');\", \"assert.deepEqual(where([{ 'a': 1 }, { 'a': 1 }, { 'a': 1, 'b': 2 }], { 'a': 1 }), [{ 'a': 1 }, { 'a': 1 }, { 'a': 1, 'b': 2 }], 'should return with multiples');\" ] }, { \"_id\":\"a39963a4c10bc8b4d4f06d7e\", \"name\":\"Seek and Destroy\", \"difficulty\":\"1.60\",", "commid": "freeCodeCamp_pr_99"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-0d7727238988c46886340e4d839ddcd89fc049a2d5714f5a6db551bb7254a87b", "query": "source: Currently Reads: \"Remove all values (last argument(s)) from an array (first argument) and return as a new array.\" Issue: From my understanding, the user is all the values from an array. However, the information in the parentheses (e.g \"last argument(s) and \"first argument\") seem confusing. Can you please ellaborate further?\nHere's another way of saying it: You will be provided with an array (the first argument in the function) and one or more values (the remaining arguments in the function) that must be removed from that array. If you look at the current tests, the arguments are similar: 1 array and 2 values. The instructions are asking you to remove as many values as are provided, but you will pass the tests if you only account for two (this will most likely be updated in the future). Does that help?\nIn the more information section we should mention about the object of JavaScript, and also perhaps link to the MDN page of it.\nSee updated copy: and pull request", "positive_passages": [{"docid": "doc-en-freeCodeCamp-9f803ed6cd571814a3db9e507b895d2286a78fd747e9605eff1d726019439a61", "text": "\"name\":\"Seek and Destroy\", \"difficulty\":\"1.60\", \"description\":[ \"Remove all values (last argument(s)) from an array (first argument) and return as a new array.\" \"You will be provided with an initial array (the first argument in the destroyer function), followed by one or more arguments. Remove all elements from the initial array that are of the same value as these arguments.\" ], \"challengeSeed\": \"function destroyer(arr) {n // Remove all the valuesrn return arr;rn}nndestroyer([1, 2, 3, 1, 2, 3], 2, 3);\", \"tests\": [ \"assert.deepEqual(destroyer([1, 2, 3, 1, 2, 3], 2, 3), [1, 1], 'should remove correct values from an array');\", \"assert.deepEqual(destroyer([1, 2, 3, 5, 1, 2, 3], 2, 3), [1, 5, 1], 'should remove correct values from an array');\" ], \"MDNlinks\" : [\"Array.filter()\"] \"MDNlinks\" : [\"Arguments object\",\"Array.filter()\"] }, { \"_id\": \"a24c1a4622e3c05097f71d67\",", "commid": "freeCodeCamp_pr_311"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-26a3127407cc9ceefd27002d57ad8b83484ba1ff8665d078434031c6cd1c3729", "query": "Seeing this in production here: solution: Use and/or check for user existence and end early. cc:", "positive_passages": [{"docid": "doc-en-freeCodeCamp-575e98e3a5a7392d6ad4ab666b520d4019cffec4bf24e6d15bc2016906120e8e", "text": "_ = require('lodash'), fs = require('fs'), constantStrings = require('constantStrings.json'), constantStrings = require('./constantStrings.json'), User = require('../models/User'), Challenge = require('./../models/Challenge'), Story = require('./../models/Story'),", "commid": "freeCodeCamp_pr_473"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-26a3127407cc9ceefd27002d57ad8b83484ba1ff8665d078434031c6cd1c3729", "query": "Seeing this in production here: solution: Use and/or check for user existence and end early. cc:", "positive_passages": [{"docid": "doc-en-freeCodeCamp-b6c5145a840ae6d7e4f3fbab113db4eaa91949b0b7e17b688e5bd52631caeec2", "text": " var moment = require('moment'), /* eslint-disable no-catch-shadow, no-unused-vars */ var R = require('ramda'), debug = require('debug')('freecc:cntr:story'), Story = require('./../models/Story'), Comment = require('./../models/Comment'), User = require('./../models/User'), moment = require('moment'), resources = require('./resources'), mongodb = require('mongodb'), nodemailer = require('nodemailer'), sanitizeHtml = require('sanitize-html'), MongoClient = mongodb.MongoClient, resources = require('./resources'), secrets = require('../config/secrets'), Story = require('./../models/Story'), Comment = require('./../models/Comment'), User = require('./../models/User'); nodemailer = require('nodemailer'), sanitizeHtml = require('sanitize-html'); function hotRank(timeValue, rank) { /*", "commid": "freeCodeCamp_pr_473"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-26a3127407cc9ceefd27002d57ad8b83484ba1ff8665d078434031c6cd1c3729", "query": "Seeing this in production here: solution: Use and/or check for user existence and end early. cc:", "positive_passages": [{"docid": "doc-en-freeCodeCamp-90e7307950a3cb00fa167e73b79b03341de7c01606b532178c921ae99288011d", "text": "); story.markModified('rank'); story.save(); User.find({ '_id': story.author.userId }, function(err, user) { User.findOne({'_id': story.author.userId}, function(err, user) { if (err) { return next(err); } user = user.pop(); user.progressTimestamps.push(Date.now() || 0); user.save(function (err) { req.user.save(function (err) { user.save(function (err, user) { req.user.save(function (err, user) { if (err) { return next(err); }", "commid": "freeCodeCamp_pr_473"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-26a3127407cc9ceefd27002d57ad8b83484ba1ff8665d078434031c6cd1c3729", "query": "Seeing this in production here: solution: Use and/or check for user existence and end early. cc:", "positive_passages": [{"docid": "doc-en-freeCodeCamp-a4e06f41b5add118917f29d3e842c6747e1fa34a002422b1bdf06227a5b1dc24", "text": "if (link.search(/^https?:///g) === -1) { link = 'http://' + link; } Story.count( { storyLink: new RegExp('^' + storyLink + '(?: [0-9]+)?$', 'i') }, function (err, storyCount) { if (err) { return res.status(500); } Story.count({ storyLink: new RegExp('^' + storyLink + '(?: [0-9]+)?$', 'i')}, function (err, storyCount) { if (err) { return res.status(500); } // if duplicate storyLink add unique number storyLink = (storyCount === 0) ? storyLink : storyLink + ' ' + storyCount; // if duplicate storyLink add unique number storyLink = (storyCount === 0) ? storyLink : storyLink + ' ' + storyCount; var link = data.link; if (link.search(/^https?:///g) === -1) { link = 'http://' + link; var link = data.link; if (link.search(/^https?:///g) === -1) { link = 'http://' + link; } var story = new Story({ headline: sanitizeHtml(data.headline, { allowedTags: [], allowedAttributes: [] }).replace(/"/g, '\"'), timePosted: Date.now(), link: link, description: sanitizeHtml(data.description, { allowedTags: [], allowedAttributes: [] }).replace(/"/g, '\"'), rank: 1, upVotes: [({ upVotedBy: req.user._id, upVotedByUsername: req.user.profile.username })], author: { picture: req.user.profile.picture, userId: req.user._id, username: req.user.profile.username, email: req.user.email }, comments: [], image: data.image, storyLink: storyLink, metaDescription: data.storyMetaDescription, originalStoryAuthorEmail: req.user.email }); story.save(function (err) { if (err) { return res.status(500); } var story = new Story({ headline: sanitizeHtml(data.headline, { allowedTags: [], allowedAttributes: [] }).replace(/"/g, '\"'), timePosted: Date.now(), link: link, description: sanitizeHtml(data.description, { allowedTags: [], allowedAttributes: [] }).replace(/"/g, '\"'), rank: 1, upVotes: [({ upVotedBy: req.user._id, upVotedByUsername: req.user.profile.username })], author: { picture: req.user.profile.picture, userId: req.user._id, username: req.user.profile.username, email: req.user.email }, comments: [], image: data.image, storyLink: storyLink, metaDescription: data.storyMetaDescription, originalStoryAuthorEmail: req.user.email }); story.save(function (err) { req.user.progressTimestamps.push(Date.now() || 0); req.user.save(function (err, user) { if (err) { return res.status(500); return next(err); } req.user.progressTimestamps.push(Date.now() || 0); req.user.save(function (err) { if (err) { return next(err); } }); res.send(JSON.stringify({ storyLink: story.storyLink.replace(/s/g, '-').toLowerCase() })); }); } ); res.send(JSON.stringify({ storyLink: story.storyLink.replace(/s/g, '-').toLowerCase() })); }); }); }; exports.commentSubmit = function(req, res, next) {", "commid": "freeCodeCamp_pr_473"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-26a3127407cc9ceefd27002d57ad8b83484ba1ff8665d078434031c6cd1c3729", "query": "Seeing this in production here: solution: Use and/or check for user existence and end early. cc:", "positive_passages": [{"docid": "doc-en-freeCodeCamp-88b8c23e74a6912b5fdf114e186fe72079adbc930cd1282a9f1e9ba3a958bfd5", "text": "try { // Based on the context retrieve the parent // object of the comment (Story/Comment) Context.find( { '_id': data.associatedPost }, function (err, associatedContext) { Context.find({'_id': data.associatedPost}, function (err, associatedContext) { if (err) { return next(err); } associatedContext = associatedContext.pop(); if (associatedContext) { associatedContext.comments.push(data._id); associatedContext.save(function (err) { if (err) { return next(err); } res.send(true); }); } // Find the author of the parent object User.findOne({'profile.username': associatedContext.author.username}, function(err, recipient) { if (err) { return next(err); } associatedContext = associatedContext.pop(); if (associatedContext) { associatedContext.comments.push(data._id); associatedContext.save(function (err) { if (err) { return next(err); // If the emails of both authors differ, // only then proceed with email notification if ( typeof data.author !== 'undefined' && data.author.email && typeof recipient !== 'undefined' && recipient.email && (data.author.email !== recipient.email) ) { var transporter = nodemailer.createTransport({ service: 'Mandrill', auth: { user: secrets.mandrill.user, pass: secrets.mandrill.password } res.send(true); }); } // Find the author of the parent object User.findOne( { 'profile.username': associatedContext.author.username }, function(err, recipient) { var mailOptions = { to: recipient.email, from: 'Team@freecodecamp.com', subject: data.author.username + ' replied to your post on Camper News', text: [ 'Just a quick heads-up: ', data.author.username, ' replied to you on Camper News.', 'You can keep this conversation going.', 'Just head back to the discussion here: ', 'http://freecodecamp.com/news/', data.originalStoryLink, '- the Free Code Camp Volunteer Team' ].join('n') }; transporter.sendMail(mailOptions, function (err) { if (err) { return next(err); return err; } // If the emails of both authors differ, // only then proceed with email notification if ( typeof data.author !== 'undefined' && data.author.email && typeof recipient !== 'undefined' && recipient.email && (data.author.email !== recipient.email) ) { var transporter = nodemailer.createTransport({ service: 'Mandrill', auth: { user: secrets.mandrill.user, pass: secrets.mandrill.password } }); var mailOptions = { to: recipient.email, from: 'Team@freecodecamp.com', subject: data.author.username + ' replied to your post on Camper News', text: [ 'Just a quick heads-up: ', data.author.username, ' replied to you on Camper News.', 'You can keep this conversation going.', 'Just head back to the discussion here: ', 'http://freecodecamp.com/news/', data.originalStoryLink, '- the Free Code Camp Volunteer Team' ].join('n') }; transporter.sendMail(mailOptions, function (err) { if (err) { return err; } }); } } ); } ); }); } }); }); } catch (e) { // delete comment return next(err); } });", "commid": "freeCodeCamp_pr_473"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-26a3127407cc9ceefd27002d57ad8b83484ba1ff8665d078434031c6cd1c3729", "query": "Seeing this in production here: solution: Use and/or check for user existence and end early. cc:", "positive_passages": [{"docid": "doc-en-freeCodeCamp-a311801fa9959cbbbfaeefe7afe38d9404cfb5e0d5154a52eefa68bf06f8085a", "text": "return next(err); } req.flash('success', { msg: 'Success! You are logged in.' }); if (/hotStories/.test(req.session.returnTo)) { return res.redirect('../news'); } return res.redirect(req.session.returnTo || '/'); }); })(req, res, next);", "commid": "freeCodeCamp_pr_473"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-9c22f1ffb98d4c73f911e606ab0df8e07c0e1f12ecaa7c57f5c679ca0643020b", "query": "Typo on the first test \"your text field have the property of being required\". Also, the second test passes even if the placeholder text field is empty.\nThanks for the report, the copy has been updated.", "positive_passages": [{"docid": "doc-en-freeCodeCamp-72ea9a3034962ed50bcfd2755c53236fa887bc4add12e036ab6f05b36c139871", "text": "\"Add them as a new contact in Screen Hero, then click the monitor-looking button to attempt to share your screen with them.\", \"Once the Screen Hero session starts, your screen's margins will glow orange. You are now sharing your screen.\", \"Your pair will have their own cursor, and will be able to type text on his or her and keyboard.\", \"Now it's time to tackle our Bonfires.\", \"Go to http://freecodecamp.com/bonfires and start working through our Bonfire challenges.\", \"Now it's time to tackle our Bonfires. You can begin them by advancing to the next challenge.\", \"Once you you finish pair programming, end the session in Screen Hero session.\", \"Congratulations! You have completed your first pair programming session.\", \"Pair program as much as possible with different campers until you've completed all the Bonfire challenges. This is a big time investment, but the JavaScript practice you get will be well worth it!\",", "commid": "freeCodeCamp_pr_647"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-9c22f1ffb98d4c73f911e606ab0df8e07c0e1f12ecaa7c57f5c679ca0643020b", "query": "Typo on the first test \"your text field have the property of being required\". Also, the second test passes even if the placeholder text field is empty.\nThanks for the report, the copy has been updated.", "positive_passages": [{"docid": "doc-en-freeCodeCamp-64c5f560d071975b5f61d34b43c4d8f01193d3bcec7358c79b73426b42918238", "text": "\"tests\": [ \"assert($('ul').length > 0, 'You should have an ul element on your webpage.')\", \"assert($('ol').length > 0, 'You should have an ol element on your webpage.')\", \"assert($('li').length > 5, 'You should have three \"assert($('li').length > 5, 'You should have three li elements on within your ul element.')\", \"assert($('li').length > 5, 'You should have three li elements on within your ol element.')\" li elements within your ul element.')\", \"assert($('li').length > 5, 'You should have three li elements within your ol element.')\" ], \"challengeSeed\": [ \"\",", "commid": "freeCodeCamp_pr_647"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-9c22f1ffb98d4c73f911e606ab0df8e07c0e1f12ecaa7c57f5c679ca0643020b", "query": "Typo on the first test \"your text field have the property of being required\". Also, the second test passes even if the placeholder text field is empty.\nThanks for the report, the copy has been updated.", "positive_passages": [{"docid": "doc-en-freeCodeCamp-11603ee4c0318a5ac05d88d9dec011663abb3067d59221619d0adf34e9b6c8ed", "text": "\"For example, if you wanted to make a text input field required, you can just add the word \"required\" within your input element use: <input type='text' required>\" ], \"tests\": [ \"assert($('input').prop('required'), 'Your text field have the property of being required.')\", \"assert($('[placeholder]').length > 0, 'Your text field should have the placeholder text of \"cat photo URL\".')\" \"assert($('input').prop('required'), 'Your text field should have the property of being required.')\", \"assert(new RegExp('cat photo URL').test($('input').prop('placeholder')), 'Your text field should have the placeholder text of \"cat photo URL\".')\" ], \"challengeSeed\": [ \"\",", "commid": "freeCodeCamp_pr_647"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-9c22f1ffb98d4c73f911e606ab0df8e07c0e1f12ecaa7c57f5c679ca0643020b", "query": "Typo on the first test \"your text field have the property of being required\". Also, the second test passes even if the placeholder text field is empty.\nThanks for the report, the copy has been updated.", "positive_passages": [{"docid": "doc-en-freeCodeCamp-15753a1264c6a35e1d4e757d2344583b1ce8349ab49e83bb17dd97f02812fc26", "text": "\"Put the \"like\", \"Info\" and \"Delete\" buttons side-by-side by wrapping all three of them within one <div class=\"row\"> element, then each of them within a <div class=\"col-xs-4\"> element.\", \"Bootstrap uses a responsive grid system, which makes it easy to put elements into rows and specify each element's relative width. Most of Bootstrap's classes can be applied to a div element.\", \"Here's a diagram of how Bootstrap's 12-column grid layout works:\", \" \"
\",
\", \"Note that in this illustration, we use the col-md-* class. Here, \"md\" means \"medium\", and \"*\" is a number specifying how many columns wide the element should be. In this case, we're specifying how many columns wide an element should be on a medium-sized screen, such as a laptop.\", \"In the Cat Photo App that we're building, we'll use col-xs-*, where \"*\" is the number of columns wide the element should be, and \"xs\" means \"extra small\", like an extra-small mobile phone screen.\", \"The row class is applied to a div, and the buttons themselves can be wrapped within it.\"", "commid": "freeCodeCamp_pr_647"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-9c22f1ffb98d4c73f911e606ab0df8e07c0e1f12ecaa7c57f5c679ca0643020b", "query": "Typo on the first test \"your text field have the property of being required\". Also, the second test passes even if the placeholder text field is empty.\nThanks for the report, the copy has been updated.", "positive_passages": [{"docid": "doc-en-freeCodeCamp-4aa2a01a6b29ba591967452055dd2bce22967259ecaf09e557ea3f198cd01986", "text": "\"name\": \"Waypoint: Line up Form Elements Responsively with Bootstrap\", \"difficulty\" : 0.062, \"description\": [ \"Wrap both your form's text input field and submit button within a div with the class \"row\". Wrap your form's text input field within a div with the class of \"col-xs-7\". Wrap your form's submit button the in a div with the class \"col-xs-5\".\", \"Now let's get your form input and your submission button on the same line. We'll do this the same way we have previously: by using a \"row\" element with \"col-xs-*\" elements withing it.\", \"Wrap both your form's text input field and submit button within a div with the class \"row\". Wrap your form's text input field within a div with the class of \"col-xs-7\". Wrap your form's submit button the in a div with the class \"col-xs-5\".\", \"This is the last challenge we'll do for our Cat Photo App for now. We hope you've enjoyed learning Font Awesome, Bootstrap, and responsive design!\" ], \"tests\": [ \"assert($('.row').length > 4, 'Wrap your all of your checkboxes inside one div with the class \"row\".')\", \"assert($('.row').length > 4, 'Wrap your form submission button and text area in a div with class \"row\".')\", \"assert($('.col-xs-5').length > 0, 'Wrap your form submission button in a div with the class \"col-xs-5\".')\", \"assert($('.col-xs-7').length > 0, 'Wrap your form text area in a div with the class \"col-xs-7\".')\" ],", "commid": "freeCodeCamp_pr_647"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-1018c09c75f47a29b8a61111d9ec35e0ed0194be7c3da8ad1050b2ae0ac7a50a", "query": "Challenge has an issue. Please describe how to reproduce it, and include links to screen shots if possible. What I see: You can apply a class to an HTML element like this:
style tag and write the CSS to make all h2 elements blue.\", \"With CSS, there are hundreds of CSS attributes that you can use to change the way an element looks on a web page.\", <h2 style=\"color: red\">CatPhotoApp<h2>, you were giving that individual h2 element an inline style\", <h2 style=\"color: red\">CatPhotoApp</h2>, you were giving that individual h2 element an inline style\", \"That's one way to add style to an element, but a better way is by using Cascading Style Sheets (CSS).\", \"At the top of your code, create a style tag like this: <style></style>\", \"Inside that style element, you can create a css selector for all h2 elements. For example, if you wanted all h2 elements to be red, your style element would look like this: <style>h2 {color: red;}</style>\",", "commid": "freeCodeCamp_pr_764"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-1018c09c75f47a29b8a61111d9ec35e0ed0194be7c3da8ad1050b2ae0ac7a50a", "query": "Challenge has an issue. Please describe how to reproduce it, and include links to screen shots if possible. What I see: You can apply a class to an HTML element like this: \", \"You can see that we've created a CSS class called \"blue-text\" within the <style> tag.\", <h2 class=\"blue-text\">CatPhotoApp<h2>\", <h2 class=\"blue-text\">CatPhotoApp</h2>\", \"Note that in your CSS style element, classes should start with a period. In your HTML elements' class declarations, classes shouldn't start with a period.\", \"Instead of creating a new Style tag, try removing the h2 style declaration from the existing style element, and replace it with the class declaration for \".red-text\".\" ],", "commid": "freeCodeCamp_pr_764"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-1018c09c75f47a29b8a61111d9ec35e0ed0194be7c3da8ad1050b2ae0ac7a50a", "query": "Challenge has an issue. Please describe how to reproduce it, and include links to screen shots if possible. What I see: You can apply a class to an HTML element like this: anchor tag.\", anchor tag. Here's an example: <a href='#'><img src='http://bit.ly/fcc-kittens2'></a>\", anchor tag. Here's an example: <a href='#'><img src='http://bit.ly/fcc-kittens2'/></a>\", \"Remember to use the hash symbol as your anchor tag's href property in order to turn it into a dead link.\", \"Once you've done this, hover over your image with your cursor. Your cursor's normal pointer should become the link clicking pointer. The photo is now a link.\" ],", "commid": "freeCodeCamp_pr_764"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-1018c09c75f47a29b8a61111d9ec35e0ed0194be7c3da8ad1050b2ae0ac7a50a", "query": "Challenge has an issue. Please describe how to reproduce it, and include links to screen shots if possible. What I see: You can apply a class to an HTML element like this: <li> elements.\", <ul><li>milk</li><li>cheese</li><ul> would create a bulleted list of \"milk\" and \"cheese\".\" <ul><li>milk</li><li>cheese</li></ul> would create a bulleted list of \"milk\" and \"cheese\".\" ], \"tests\": [ \"assert($('ul').length > 0, 'Create a ul element.')\",", "commid": "freeCodeCamp_pr_764"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-1018c09c75f47a29b8a61111d9ec35e0ed0194be7c3da8ad1050b2ae0ac7a50a", "query": "Challenge has an issue. Please describe how to reproduce it, and include links to screen shots if possible. What I see: You can apply a class to an HTML element like this: <ol> element. Then they contain some number of <li> elements.\", <ol><li>hydrogen</li><li>helium</li><ol> would create a numbered list of \"hydrogen\" and \"helium\".\" <ol><li>hydrogen</li><li>helium</li></ol> would create a numbered list of \"hydrogen\" and \"helium\".\" ], \"tests\": [ \"assert($('ul').length > 0, 'You should have an ul element on your webpage.')\",", "commid": "freeCodeCamp_pr_764"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-234245602436879a1774b3132a430122f0c415f762d64dff829b3ead1b3dde17", "query": "Challenge has an issue. Please describe how to reproduce it, and include links to screen shots if possible. Step : \"Remember to use RSAP if you get stuck. Try using jQuery's $.getJSON() to consume APIs.\" incorrectly to this url: It should link to: Unless that misdirection is meant to be tricky for the student ;)\nThis is a duplicate of\nKind of. This one is referring to a different page (challenge/zipline), but I did notice that all of the Ziplines have the same bug.\nThis was fixed ages ago, right? Please close.\nThis isn't actually fixed. The erroneous link still exists in these ziplines: Maybe it's not an issue because we'll be switching over to the content at soon? But I thought you should know that the issue hasn't actually been fixed yet. Actually, the only reason that it isn't an issue on the beta site is that none of the ziplines seem to link directly to the jquery json page.\nThis was fixed in prior to the branch being available through Now they seem to have changed how the ziplines look, so it wouldn't be an issue regardless. Since all changes seem to happen on the branch before ending up in production, issues that are fixed in should probably be considered fixed, even though it might be better to merge small fixes like this into production at a quicker rate than what is the current reality.\nThanks for the explanation! That makes sense. I'm not privy to staging, so I didn't realize it had been fixed there.", "positive_passages": [{"docid": "doc-en-freeCodeCamp-90eba81c49837951ab5edf319b39c16f23ab61b317f6c3690c1e868ba7a2edf8", "text": "\"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\"]\", http://www.freecodecamp.com/stories/hotStories.\", http://www.mediawiki.org/wiki/API:Main_page.\", a element should have the anchor text of \"cat photos\"')\", a element that links to http://catphotoapp.com.')\", a element that links to http://catphotoapp.com.')\", \"assert(editor.match(//g) && editor.match(//g).length === editor.match(/a element has a closing tag.')\" ], \"challengeSeed\": [", "commid": "freeCodeCamp_pr_2419"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-26e9843ce77656b9418b6db7e7ef5d449dcefc989f1ec507c7ff3f89d815b7da", "query": "One of the instructions has the following: start this tutorial by running npm install how-to-npm it says to run the npm tutorial by typing 'npm install how-to-npm but you are actually supposed to just type 'how-to-npm'", "positive_passages": [{"docid": "doc-en-freeCodeCamp-2bccdec5a21f4c9b2d30c18de106a3ebff69b12011c0a4084ae70b2bb52b41ab", "text": "\"Wait for the workspace to finish processing and select it on the left sidebar, below the Create New Workspace button.\", \"Click the \"Start Editing\" button.\", \"In the lower right hand corner you should see a terminal window. In this window use the following commands. You don't need to know what these mean at this point.\", npm install how-to-npm -g\", \"Now start this tutorial by running npm install how-to-npm@2.0.0.\", how-to-npm with this command: npm install how-to-npm -g\", \"Now start the tutorial by running how-to-npm.\", \"Note that you can resize the c9.io's windows by dragging their borders.\", \"Make sure that you are always in your project's \"workspace\" directory. You can always navigate back to this directory by running this command: cd ~/workspace.\", \"Note that you can only add dist tags to the specific version numbers published in steps 8 and 10. If you receive a 403 or 404 error, run how-to-npm and try again.\",", "commid": "freeCodeCamp_pr_1172"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-6254ed199e52baac6e46ec24eb6e23b68c95b5bdf886cd14059ed0b9e445e1ee", "query": "Challenge has an issue. In JavaScript whole numbers (called integers) can be easily used to preform mathematical functions <-- Let's try a few of the most commonly used ones now <-- We use - for subtraction <---\nmerged to", "positive_passages": [{"docid": "doc-en-freeCodeCamp-1ea516fca574d774df08fd3cd7024d9c027506ad092d391f85eb90371c20ee43", "text": "\"dashedName\": \"waypoint-add-two-numbers-with-javascript\", \"difficulty\": \"9.98141\", \"description\": [ +for addition\", +for addition.\", \"Replace the 0with correct number to achieve the result in the comment.\" ], \"tests\": [", "commid": "freeCodeCamp_pr_1692"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-6254ed199e52baac6e46ec24eb6e23b68c95b5bdf886cd14059ed0b9e445e1ee", "query": "Challenge has an issue. In JavaScript whole numbers (called integers) can be easily used to preform mathematical functions <-- Let's try a few of the most commonly used ones now <-- We use - for subtraction <---\nmerged to", "positive_passages": [{"docid": "doc-en-freeCodeCamp-ef4b8e9a1d15441c22eadd99cea17b0f35e773238e351c541d9fb713c850b58e", "text": "\"dashedName\": \"waypoint-subtract-one-number-from-another-with-javascript\", \"difficulty\": \"9.98142\", \"description\": [ -for subtraction\", -for subtraction.\", \"Replace the 0with correct number to achieve the result in the comment.\" ], \"tests\": [", "commid": "freeCodeCamp_pr_1692"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-6254ed199e52baac6e46ec24eb6e23b68c95b5bdf886cd14059ed0b9e445e1ee", "query": "Challenge has an issue. In JavaScript whole numbers (called integers) can be easily used to preform mathematical functions <-- Let's try a few of the most commonly used ones now <-- We use - for subtraction <---\nmerged to", "positive_passages": [{"docid": "doc-en-freeCodeCamp-fd75e49209914046fcbd6a674bd770d934e627992d9a590dbd60aec4cac132e4", "text": "\"dashedName\": \"waypoint-multiply-two-numbers-with-javascript\", \"difficulty\": \"9.98143\", \"description\": [ *for multiplication\", *for multiplication.\", \"Replace the 0with correct number to achieve the result in the comment.\" ], \"tests\": [", "commid": "freeCodeCamp_pr_1692"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-6254ed199e52baac6e46ec24eb6e23b68c95b5bdf886cd14059ed0b9e445e1ee", "query": "Challenge has an issue. In JavaScript whole numbers (called integers) can be easily used to preform mathematical functions <-- Let's try a few of the most commonly used ones now <-- We use - for subtraction <---\nmerged to", "positive_passages": [{"docid": "doc-en-freeCodeCamp-b702c408e953e929e4a5b77c89907495383bac6ed0e0e31b32309c2f847558cc", "text": "\"dashedName\": \"waypoint-divide-one-number-by-another-with-javascript\", \"difficulty\": \"9.9814\", \"description\": [ /for division\", /for division.\", \"Replace the 0with correct number to achieve the result in the comment.\" ], \"tests\": [", "commid": "freeCodeCamp_pr_1692"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-6254ed199e52baac6e46ec24eb6e23b68c95b5bdf886cd14059ed0b9e445e1ee", "query": "Challenge has an issue. In JavaScript whole numbers (called integers) can be easily used to preform mathematical functions <-- Let's try a few of the most commonly used ones now <-- We use - for subtraction <---\nmerged to", "positive_passages": [{"docid": "doc-en-freeCodeCamp-e008cab8cabad8a9d7e355aae27b95fae55ce5ff3b30470c8570570f2c9225e8", "text": "\"dashedName\": \"waypoint-create-decimal-numbers-with-javascript\", \"difficulty\": \"9.9815\", \"description\": [ myDecimal and give it a decimal value.\" ], \"tests\": [", "commid": "freeCodeCamp_pr_1692"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-6addc42d72e8d06e0fa803c64940a9e980139486935b74f92616ee2668763172", "query": "! Same with the other waypoints that ask for a hex code that includes alpha chars.\nGreen worked fine.. blue has case issue.", "positive_passages": [{"docid": "doc-en-freeCodeCamp-d1931b310166eeac7b3ab052e0740756c868a26bb59a2974d365cb0d2335dd92", "text": "], \"tests\": [ \"assert($(\"body\").css(\"background-color\") === \"rgb(255, 0, 0)\", 'Give your body element the background-color of red.')\", hex code for the color red instead of the word red. For example body { color: #FF0000; }.')\" hex code for the color red instead of the word red. For example body { color: #FF0000; }.')\" ], \"challengeSeed\": [ \"\", \"\", \"Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
\",", "commid": "freeCodeCamp_pr_3813"}], "negative_passages": []} {"query_id": "q-en-freeCodeCamp-74694663abf147e7e82b45c8dd0e3c2b7c94debd5506871068314a30fb6f73ae", "query": "Challenge has an issue. User Agent is:myDog.\" ], \"tests\": [ \"bark\" from myDog.');\" \"tails\" from myDog.');\" ], \"challengeSeed\": [ \"var ourDog = {\",", "commid": "freeCodeCamp_pr_3967"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-38335cf883a58588fb3aaaf627ee19e76729df427798aa4f4126329fbf655285", "query": "Should be \"become\" I would fix it but I'm not sure where this file is located. !\nclosed. Fixed with", "positive_passages": [{"docid": "doc-en-freeCodeCamp-2f7a4af3748b369d0ac6f643988a5afdd52b41411d2cc97530efc6e3dc078821", "text": "[ \"http://i.imgur.com/EoTfOyC.jpg\", \"An image of some of our campers coding together in Montreal.\", $(document).ready(). Esta funci\u00f3n hace que todo el c\u00f3digo dentro de ella se ejecute s\u00f3lo hasta que nuestra p\u00e1gina ha sido cargada.\", \"Hagamos que nuestro bot\u00f3n \"Get message\" cambie el texto del elemento con clase message.\", \"Antes de poder hacer esto, tenemos que implementar un evento de pulsaci\u00f3n dentro de nuestra funci\u00f3n $(document).ready(), a\u00f1adiendo este c\u00f3digo:\", \"$(\"#getMessage\").on(\"click\", function(){\", \"\", \"});\" ] }, { \"id\": \"bc000000000000000000001\", message to say \"Here is the message\".\",", "commid": "freeCodeCamp_pr_4772"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-5683e78bf7bba8e0ae6cb448138bb13344ba877a5de561aebb03c97d2436f205", "query": "[x] Trigger Click Events with jQuery [x] Change Text with Click Events [x] Get JSON with the jQuery getJSON Method [x] Convert JSON Data to HTML [x] Render Images from Data Sources [x] Prefilter JSON [x] Get Geo-location Data\nTrabajando en esta", "positive_passages": [{"docid": "doc-en-freeCodeCamp-327c031172ca46cb36aaeba77fc726adb3b98d5968b433639569b6e055b13270", "text": "\"\" ], \"challengeType\": 0, message cambie para decir \"Here is the message\".\", \"Podemos hacerlo a\u00f1adiendo el siguiente c\u00f3digo dentro de nuestro evento de pulsaci\u00f3n:\", \" $(\".message\").html(\"Here is the message\");\" ] }, { \"id\": \"bb000000000000000000002\",", "commid": "freeCodeCamp_pr_4772"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-5683e78bf7bba8e0ae6cb448138bb13344ba877a5de561aebb03c97d2436f205", "query": "[x] Trigger Click Events with jQuery [x] Change Text with Click Events [x] Get JSON with the jQuery getJSON Method [x] Convert JSON Data to HTML [x] Render Images from Data Sources [x] Prefilter JSON [x] Get Geo-location Data\nTrabajando en esta", "positive_passages": [{"docid": "doc-en-freeCodeCamp-f2a6e82719c76947998deb3d20a40ae249bed70c4e4f512da8fa80f364e20405", "text": "\"\" ], \"challengeType\": 0, { y un }. \", \"Estas propiedades y sus valores a menudo se denominan \" pares llave-valor\".\", \"Vamos a obtener el JSON de la API de fotos de gato de Free Code Camp.\", \"Aqu\u00ed est\u00e1 el c\u00f3digo que puedes poner en tu evento de pulsaci\u00f3n para lograrlo:\", \" $.getJSON(\"/json/cats.json\", function(json) {\", \" $(\".message\").html(JSON.stringify(json));\", \" });\", \"Una vez lo a\u00f1adas, pulsa el bot\u00f3n \"Get Message\". Su funci\u00f3n Ajax sustituir\u00e1 el texto \"The message will go here\" con la salida JSON en bruto de la API de fotos de gato de Free Code Camp.\" ] }, { \"id\": \"bb000000000000000000003\", .forEach() method to loop through our data and modify our HTML elements.\",", "commid": "freeCodeCamp_pr_4772"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-5683e78bf7bba8e0ae6cb448138bb13344ba877a5de561aebb03c97d2436f205", "query": "[x] Trigger Click Events with jQuery [x] Change Text with Click Events [x] Get JSON with the jQuery getJSON Method [x] Convert JSON Data to HTML [x] Render Images from Data Sources [x] Prefilter JSON [x] Get Geo-location Data\nTrabajando en esta", "positive_passages": [{"docid": "doc-en-freeCodeCamp-18c652f55536cf76e3e554bf29965da877fa8663d855317da81dce7c32af11b0", "text": "\" \", \" .forEach() para recorrer nuestros datos y modificar nuestros elementos HTML.\", \"En primer lugar, vamos a declarar una variable llamada html con var html = \"\";.\", \"Despu\u00e9s, iteremos a trave\u015b de nuestro JSON, a\u00f1adiendo m\u00e1s HTML a esa variable. Cuando se termina el ciclo, vamos a presentarla. \", \"Aqu\u00ed est\u00e1 el c\u00f3digo que hace esto:\", \"json.forEach(function(val) {\", \" var keys = Object.keys(val);\", \" html += \"<div class = 'cat'>\";\", \" keys.forEach(function(key) {\", \" html += \"<b>\" + key + \"</b>: \" + val[key] + \"<br>\";\", \" });\", \" html += \"</div><br>\";\", \"});\" ] }, { \"id\": \"bb000000000000000000004\", imageLink key with a value that is the url of a cat's image.\",", "commid": "freeCodeCamp_pr_4772"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-5683e78bf7bba8e0ae6cb448138bb13344ba877a5de561aebb03c97d2436f205", "query": "[x] Trigger Click Events with jQuery [x] Change Text with Click Events [x] Get JSON with the jQuery getJSON Method [x] Convert JSON Data to HTML [x] Render Images from Data Sources [x] Prefilter JSON [x] Get Geo-location Data\nTrabajando en esta", "positive_passages": [{"docid": "doc-en-freeCodeCamp-1fda8203a0661b0d1f81e9b1e998957b2006500c104cf2cfaecb7db9b454529a", "text": "\"imageLink con un valor que corresponde a la url de la imagen de un gato.\", \"Cuando estamos recorriendo estos objetos, usemos esta propiedad imageLink para visualizar la imagen en un elemento img.\", \"Aqu\u00ed est\u00e1 el c\u00f3digo que hace esto:\", \" html += \"<img src = '\" + val.imageLink + \"'>\";\" ] }, { \"id\": \"bb000000000000000000005\", json = json.filter(function(val) {\", \" return(val.id !== 1);\", \"});\" ] }, { \"id\": \"bb000000000000000000006\", if (navigator.geolocation) {\", \" navigator.geolocation.getCurrentPosition(function(position) {\", \" $(\"#data\").html(\"latitude: \" + position.coords.latitude + \"<br>longitude: \" + position.coords.longitude);\", \" });\", \"}\" ] } ] }", "commid": "freeCodeCamp_pr_4772"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-5248a4d319c25277965ac0979b6acd34fdc6ea52ba87c7513f98339191c884fc", "query": "Challenge [Bonfire: Validate US Telephone Numbers] Apparently the test case \"telephoneCheck(\"555-555-5555\") should return true.\" runs twice.", "positive_passages": [{"docid": "doc-en-freeCodeCamp-92d613b71ddf71dbede440a15d3d6f2d869646dd4ed9f3b6c6fe2373f19744c1", "text": "\"assert(telephoneCheck(\"(555)555-5555\") === true, 'message: telephoneCheck(\"(555)555-5555\") should return true.');\", \"assert(telephoneCheck(\"1(555)555-5555\") === true, 'message: telephoneCheck(\"1(555)555-5555\") should return true.');\", \"assert(telephoneCheck(\"1 555 555 5555\") === true, 'message: telephoneCheck(\"1 555 555 5555\") should return true.');\", telephoneCheck(\"555-555-5555\") should return true.');\", telephoneCheck(\"1 456 789 4444\") should return true.');\", \"assert(telephoneCheck(\"123**&!!asdf#\") === false, 'message: telephoneCheck(\"123**&!!asdf#\") should return false.');\", \"assert(telephoneCheck(\"55555555\") === false, 'message: telephoneCheck(\"55555555\") should return false.');\",", "commid": "freeCodeCamp_pr_4678"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-5248a4d319c25277965ac0979b6acd34fdc6ea52ba87c7513f98339191c884fc", "query": "Challenge [Bonfire: Validate US Telephone Numbers] Apparently the test case \"telephoneCheck(\"555-555-5555\") should return true.\" runs twice.", "positive_passages": [{"docid": "doc-en-freeCodeCamp-6603cbdef13febc30282d43428a6d5dcaffd0fd44a61978dd2f180655d88c062", "text": "\"assert(telephoneCheck(\"(275)76227382\") === false, 'message: telephoneCheck(\"(275)76227382\") should return false.');\", \"assert(telephoneCheck(\"2(757)6227382\") === false, 'message: telephoneCheck(\"2(757)6227382\") should return false.');\", \"assert(telephoneCheck(\"2(757)622-7382\") === false, 'message: telephoneCheck(\"2(757)622-7382\") should return false.');\", telephoneCheck(\"555)555-5555\") should return false.');\", telephoneCheck(\"555)-555-5555\") should return false.');\", \"assert(telephoneCheck(\"(555-555-5555\") === false, 'message: telephoneCheck(\"(555-555-5555\") should return false.');\" ], \"challengeSeed\": [", "commid": "freeCodeCamp_pr_4678"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-f2bc12afc5447a4f42dfd972b24f1d74d4fdca7e4eb82ab5cee30e7e33d7de2d", "query": "Challenge has an issue. User Agent is: String values are immutable, which means that they cannot be altered once created.\", \"For example, the following code:\", var myStr = \"Bob\";
myStr[0] = \"J\";\", var myStr = \"Bob\";\", \"cannot change the value of
myStr[0] = \"J\";
myStr to \"Job\", because the contents of myStr cannot be altered. Note that this does not mean that myStr cannot be changed, just that the individual characters of a string literal cannot be changed. The only way to change myStr would be to assign it with a new string, like this:\", var myStr = \"Bob\";
myStr = \"Job\";\", var myStr = \"Bob\";\", \"
myStr = \"Job\";
myStr to achieve the desired effect.\" ],", "commid": "freeCodeCamp_pr_6301"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-26ab1d47556a33594d28174bfb43f745079396f7072c6f64546826f591095400", "query": "and have text in code tags within a blockquote already. The code tagged strings need to be removed. You can see them because they are highlighted again within the code block. Access MultiDimensional Arrays with Indexes: ! Understand String Immutability: !\nAgreed, these just just be in the block quote.", "positive_passages": [{"docid": "doc-en-freeCodeCamp-c0ff368b8441be9d71ca9f7ff1a8d0002cdd3a0cf50fddc1e859073fd24fed4e", "text": "\"description\": [ \"One way to think of a multi-dimensional array, is as an array of arrays. When you use brackets to access your array, the first set of bracket refers to the entries in the outer-most array, and each subsequent level of brackets refers to the next level of entries inside.\", \"Example\", var arr = [\",
[1,2,3],
[4,5,6],
[7,8,9],
[[10,11,12], 13, 14]
];arr[0]; // equals [1,2,3]arr[1][2]; // equals 6arr[3][0][1]; // equals 11
var arr = [\", \"
[1,2,3],
[4,5,6],
[7,8,9],
[[10,11,12], 13, 14]
];
arr[0]; // equals [1,2,3]
arr[1][2]; // equals 6
arr[3][0][1]; // equals 11
myArray using bracket notation so that myData is equal to 8\" ],", "commid": "freeCodeCamp_pr_6301"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-40f4b91c41dcba535750f759c0bb8b898b631e3a74013c0972ed46aef11af3f1", "query": "[x] Learn D3 Challenges\nwhat should we do with these ones? I guess they are not finished, so there's no point in translating that one line, or am I wrong?", "positive_passages": [{"docid": "doc-en-freeCodeCamp-832820be50d8cd052de0bee7a5a90d66eb322b0a8ef2d9959b5e24e0a10934cd", "text": "\"tests\": [], \"type\": \"waypoint\", \"challengeType\": 3, true (verdadero) o false (falso). Estas palabras son especiales y reservadas. No puedes nombrar a una variable como \"true\", porque esa palabra es ya universal como un valor l\u00f3gico (as\u00ed como lo es \"false\"). \", \"Una cadena es un conjunto de caracteres que se establecen entre ap\u00f3strofes (') o entre comillas (\"). Una cadena puede ser \"true\", siempre y cuando sea con comillas o con ap\u00f3strofes. \", \"Los n\u00fameros se explican por s\u00ed mismos - un n\u00famero es un valor que se compone s\u00f3lo de d\u00edgitos, aunque tambi\u00e9n puede contener un decimal o un signo negativo.\" ] }, { \"id\": \"56b15f15632298c12f31518b\",", "commid": "freeCodeCamp_pr_7228"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-9934050814375f1bba1a4233e9bcdf79eb7b2bd74f545dd769c3f49306f9d3e2", "query": "[ ] JavaScript Lingo: MDN and Documentation [ ] JavaScript Lingo: Value Types [ ] JavaScript Lingo: Variables & camelCase [ ] JavaScript Lingo: Arrays & Objects [ ] JavaScript Lingo: Finding and Indexing Data in Arays [ ] JavaScript Lingo: Manipulating Data [ ] JavaScript Lingo: Math [ ] JavaScript Lingo: Loops [ ] JavaScript Lingo: Regular Expressions\nWorking on this one", "positive_passages": [{"docid": "doc-en-freeCodeCamp-1c3cbc498bf7d4ae3acf527dd2fbd661ba6c360a1bc78ca3673a86a27a9f29c4", "text": "] ], \"type\": \"hike\", var en frente de ella, pero despu\u00e9s puedes referenciarla m\u00e1s adelante en tu programa.\", \"capitalizaci\u00f3nCamello es una forma en la que juntas varias palabras y a\u00fan as\u00ed las mantienes legibles. La primera letra de la primera palabra va en min\u00fasculas al igual que el resto de la primera palabra, pero la primera letra de cada palabra que siga se escribe en may\u00fasculas. No hay espacios. Ejemplos: brianaAmaSusMascotas, laMejorComidaEsElQueso, y valeLaPenaAprenderProgramacion.\", \"Al asignar un nombre de variable, usa capitalizaci\u00f3nCamello. Adem\u00e1s, trata de mantener los nombres descriptivos y cortos para que los dem\u00e1s (\u00a1e incluso tu!) puedan entender a lo que se refiere la variable simplemente por el nombre.\" ] }, { \"id\": \"56b15f15632298c12f31518a\",", "commid": "freeCodeCamp_pr_7228"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-9934050814375f1bba1a4233e9bcdf79eb7b2bd74f545dd769c3f49306f9d3e2", "query": "[ ] JavaScript Lingo: MDN and Documentation [ ] JavaScript Lingo: Value Types [ ] JavaScript Lingo: Variables & camelCase [ ] JavaScript Lingo: Arrays & Objects [ ] JavaScript Lingo: Finding and Indexing Data in Arays [ ] JavaScript Lingo: Manipulating Data [ ] JavaScript Lingo: Math [ ] JavaScript Lingo: Loops [ ] JavaScript Lingo: Regular Expressions\nWorking on this one", "positive_passages": [{"docid": "doc-en-freeCodeCamp-893da5d53396e97bb82003655d88035d89d36094a705162d23a9c872c78f24a8", "text": "] ], \"type\": \"hike\", var obj = { 'nombre': 'Briana', 'comida': 'queso', 'perro': 'Maurice'};\", \"F\u00edjate que un objeto se encierra entre llaves { ... }, que los diferentes atributos se separan por comas, que cada atributo consta de una palabra llave y de un valor. Por ejemplo son llaves 'nombre', 'comida' y 'perro' y sus respectivos valores son 'Briana', 'queso' y 'Maurice'. En este ejmplo todos los valores fueron cadenas, aunque tambi\u00e9n son v\u00e1lidos booleanos, n\u00fameros y otros tipos de datos.\" ] }, { \"id\": \"56b15f15632298c12f315189\",", "commid": "freeCodeCamp_pr_7228"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-9934050814375f1bba1a4233e9bcdf79eb7b2bd74f545dd769c3f49306f9d3e2", "query": "[ ] JavaScript Lingo: MDN and Documentation [ ] JavaScript Lingo: Value Types [ ] JavaScript Lingo: Variables & camelCase [ ] JavaScript Lingo: Arrays & Objects [ ] JavaScript Lingo: Finding and Indexing Data in Arays [ ] JavaScript Lingo: Manipulating Data [ ] JavaScript Lingo: Math [ ] JavaScript Lingo: Loops [ ] JavaScript Lingo: Regular Expressions\nWorking on this one", "positive_passages": [{"docid": "doc-en-freeCodeCamp-57c5e0638fc0c1e2929b6e279699b086e3cc8e6e05e3aade064f53d3e311aa77", "text": "] ], \"type\": \"hike\", miVector[2], realmente vas a obtener la tercera pieza de informaci\u00f3n del vector miVector.\" ] }, { \"id\": \"56b15f15632298c12f315188\",", "commid": "freeCodeCamp_pr_7228"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-9934050814375f1bba1a4233e9bcdf79eb7b2bd74f545dd769c3f49306f9d3e2", "query": "[ ] JavaScript Lingo: MDN and Documentation [ ] JavaScript Lingo: Value Types [ ] JavaScript Lingo: Variables & camelCase [ ] JavaScript Lingo: Arrays & Objects [ ] JavaScript Lingo: Finding and Indexing Data in Arays [ ] JavaScript Lingo: Manipulating Data [ ] JavaScript Lingo: Math [ ] JavaScript Lingo: Loops [ ] JavaScript Lingo: Regular Expressions\nWorking on this one", "positive_passages": [{"docid": "doc-en-freeCodeCamp-901c9ba944d1ff4d4cdd3f56455445e2842c37fca2c1d8939ebbe93eafe88a46", "text": "] ], \"type\": \"hike\", .split (' '), que convertir\u00e1 una cadena en un vector y puede hacerlo de muchas maneras diferentes. Los m\u00e9todos son de gran alcance - muchas veces cuando quieres que tu programa haga algo, ya habr\u00e1 un m\u00e9todo para eso.\", \"Las funciones, al igual que las variables, son algo que tu defines y creas.\", \"Durante tu pr\u00e1ctica con algoritmos en FreeCodeCamp, vas a crear funciones que reciben una determinada pieza de informaci\u00f3n y la manipulan de la forma que elijas.\", \"Vas a estar m\u00e1s familiarizado con la sintaxis, pero por ahora, s\u00f3lo recuerda que con los m\u00e9todos y funciones puedes hacer casi cualquier cosa con tu c\u00f3digo.\" ] }, { \"id\": \"56b15f15632298c12f315187\",", "commid": "freeCodeCamp_pr_7228"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-9934050814375f1bba1a4233e9bcdf79eb7b2bd74f545dd769c3f49306f9d3e2", "query": "[ ] JavaScript Lingo: MDN and Documentation [ ] JavaScript Lingo: Value Types [ ] JavaScript Lingo: Variables & camelCase [ ] JavaScript Lingo: Arrays & Objects [ ] JavaScript Lingo: Finding and Indexing Data in Arays [ ] JavaScript Lingo: Manipulating Data [ ] JavaScript Lingo: Math [ ] JavaScript Lingo: Loops [ ] JavaScript Lingo: Regular Expressions\nWorking on this one", "positive_passages": [{"docid": "doc-en-freeCodeCamp-3ca895bc72a6121b323ce1394fd66059b886c57e0a58b1f1d877e16fd642d628", "text": "] ], \"type\": \"hike\", Math.random() que devolver\u00e1 un n\u00famero aleatorio en un rango y Math.round() que redondear\u00e1 el n\u00famero decimal que reciba al entero m\u00e1s cercano.\", \"Yo utilic\u00e9 Math.random() cuando constru\u00ed el generador de citas aleatorias como proyecto de desarrollo de interfaces en FreeCodeCamp.\", \"Cuando trabajes con n\u00fameros, tambi\u00e9n debes estar consciente de que JS tiene un atributo interesante llamado 'formato de coma flotante'.\", \"Dependiendo de la cantidad de n\u00fameros, su tama\u00f1o y la cantidad de c\u00e1lculos, JS puede devolver un n\u00famero que es inexacto en 0,00004.\", \"Hay maneras de evitar esto, y en general no plantean problemas, pero es algo que debes tener en cuenta si te encuentras con algunos problemas que parecen no tienen sentido.\" ] }, { \"id\": \"56b15f15632298c12f315186\",", "commid": "freeCodeCamp_pr_7228"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-9934050814375f1bba1a4233e9bcdf79eb7b2bd74f545dd769c3f49306f9d3e2", "query": "[ ] JavaScript Lingo: MDN and Documentation [ ] JavaScript Lingo: Value Types [ ] JavaScript Lingo: Variables & camelCase [ ] JavaScript Lingo: Arrays & Objects [ ] JavaScript Lingo: Finding and Indexing Data in Arays [ ] JavaScript Lingo: Manipulating Data [ ] JavaScript Lingo: Math [ ] JavaScript Lingo: Loops [ ] JavaScript Lingo: Regular Expressions\nWorking on this one", "positive_passages": [{"docid": "doc-en-freeCodeCamp-9630901adcbfd2eb9b5fc044738b97809554ab4e29bd9d679defa62a0abf0fc2", "text": "] ], \"type\": \"hike\", absolute, which locks the element in place relative to its parent container. Unlike the relative position, this removes the element from the normal flow of the document, so surrounding items ignore it. The CSS offset properties (top or bottom and left or right) are used to adjust the position.\", \"One nuance with absolute positioning is that it will be locked relative to its closest positioned ancestor. If you forget to add a position rule to the parent item, (this is typically done using position: relative;), the browser will keep looking up the chain and ultimately default to the body tag.\", \"#searchbar element to the top-right of its section parent by declaring its position as absolute. Give it top and right offsets of 0.5 pixels each.\" #searchbar element to the top-right of its section parent by declaring its position as absolute. Give it top and right offsets of 50 pixels each.\" ], \"challengeSeed\": [ \" ``` ", "commid": "freeCodeCamp_pr_37756"}], "negative_passages": []}
{"query_id": "q-en-freeCodeCamp-3aa0738c73a98966c6ec81758d81218e55f1f56bfe17649aced191faba61b805", "query": "from its english version at from its english version at from its english version at from its english version at from its english version at from its english version at When you make a PR for this particular issue, do not tag it with instead just reference it with\nHey ! How could I claim so we don't double work? Thanks\nHi ! Actually we just merge in the first PR for open issues. And your comment on this thread is enough. So, its yours. Happy translating.\nI just open a PR for\nthanks a lot that was fast! Would you be interested in translating these in future as well? If yes, please keep a watch on this thread. We will be updating on the progress often Happy contributing.\nDone translating ! My PR is available at ! Thanks for all you do, freeCodeCamp\nI have sent a translation proposal for /docs/how-to-work-on-guide- PR Hope it will help!\nThere is still work pending on this. When you make a PR for this particular issue, do not tag it with instead just reference it with\nHello, I'm starting to help on the translation of the document /how-to-set-up-freecodecamp-\nWorking on /docs/spanish/how-to-work-on-guide-\nHello, I've improved the file\nHello, Improving docs/spanish/how-to-catch-outgoing-emails-\nHi, I'm improving docs/spanish/how-to-work-on-coding-\nHi, can I help with /docs/spanish/how-to-setup-freecodecamp-\nSorry, I opened a bad PR regarding but already closed it. I found there was still an English part to be translated\nHi! Is there any remaining documentation where I can help translate?\nyou can improve or fix redaction and spelling errors.\nHi there, It would be good if at the top are checked so we can see what is left to be translated. Thanks\nWhere I can start helping?\nsorry to put it in this issue, but is there any way somebody could help with the pull requests? I mean, there are 5K+ opened already, people are sending them in troves, and I suspect a lot of them are a total crap (Like ) . I guess you opened a Pandora Box with your articule about HacktoberFest.\nHey all, not a translation, but fixes for the language bar of HTML links on the README file for Spanish, and markdown links to the How To guides that everyone has been translating. . or anyone else looking to do translations in Spanish, you could make a copy of the 2 style guides to translate into Spanish from the English version in the doc folder. It looks like those weren't in to the Spanish folder originally or included on this issue. Just leave the title the same, but put it in the Spanish folder\nHola! to all. I believe we should have guidelines for Spanish translations, which include what treatment (formal or informal) to use when referring to actions or the user. For example, Agregue (formal) or Agrega (informal). - I don't know if this kind of things are found in other languages. In the last articles I've read I've seen a mix between formal and informal, and I think we should standardize (I have done it with some articles). I propose to always use informal. Another thing that could be specified in the guidelines is: Challenges translations. Should they be translated? Referrals to types and attributes (which need to be in English for proper coding). For example, type \"date\" not type \"fecha\". If there is a guideline already, please let me know, if not, I would be happy to start one (just let me know where to put it). Hey I would like to know your thoughts about this. Thanks to you all and happy coding!\nI agree that we should standardize around informal. I agree with you that we should look out for words like \"fecha\" that have been accidentally translated during our automated translation process.\nHi all I'm not sure if this is the right issue to discuss this, or if I should open a new one. I'm happy to open a new one if that makes things easier to track. I'll keep it here for the moment. What do people think about translating \"array\" as \"arreglo\"? I think this is a big mistake that has been repeated since somebody made that bad translation many years ago. As any Spanish speaker know, \"arreglo\" means \"repair\" (), and it makes any programming related text even harder to understand. This is especially true for programming texts because it's full of abstract nouns and things that are not easy to represent in a tangible way. I learned to code in English (mainly FCC and Coursera), and after a while, I stumbled upon a programming text written in Spanish. I couldn't understand what it was talking about until I found out that \"arreglo\" was the (really bad) translation of \"array\". Then I could read the text as if I was reading an encoded message that had to be deciphered. I propose that the Spanish version of FreeCodeCamp doesn't carry on with that translation, which is just based on the similarity of the spelling but has nothing to do with the meaning of the words. I think the right term in Spanish is \"ristra\". According to the : Which basically means: \"A group of things placed one after another\" They also share all the phonems in \"array\", with the adittion of /r/ (rolling r) and /t/ in \"ristra\". I'm open to other candidates, but please, let's take \"arreglo\" out of the Spanish version. The word \"array\" has been used in Spanish texts before and even though it's not a Spanish word, I think it's still better than a word that exists with a different meaning. And to be honest, anyone learning how to code will have to become familiar with certain English terms like \"list\", \"function\", \"import\", \"scope\", etc. [1]: [2]:\nHello guy, I vote for yes, let\u2019s do the change and I think will create a huge impact around of the world! Please let me know if you have more question questions or concerns. Andres Haro Cell: (619) 534-3190\nThanks - I agree that these machine translations need improvement. I encourage you to dig in and start fixing them. Be sure to join if you need help getting set up\nThere is still work pending on this. When you make a PR for this particular issue, do not tag it with instead just reference it with\nThanks for working on the translations for the \"Contributing to freeCodeCamp\". Here on we are making contributing to translations for contribution docs ad hoc. You are free to make pull-requests for improving these translations. We are closing the issue as these do not need tracking per se. You can raise a fresh issue if you find something incorrect in the existing docs.", "positive_passages": [{"docid": "doc-en-freeCodeCamp-450ae51feac6069cad87f9b0e7a9563b6735d9515c8a4c62821c444b204930c7", "text": " We will notify the community moderators' team, and a send copy of this report to your email:{' '} {email}. this report to your email: {email}
We may get back to you for more information, if required.