59 Commits

Author SHA1 Message Date
Lance-Drane
f687f804d8 Solution for Intermediate Algorithm Scripting: Pig Latin (#34446)
* Solution for Intermediate Algorithm Scripting: Pig Latin

Solution exclusively utilizes regex and string functions

Username: finally_static

* Properly format sublists

* sublists

* sublists

* sublist

* fix: added #2 to existing Intermediate solution

* Create a number for first intermediate solution
2019-02-27 19:49:00 -05:00
Dennis Liu
ae5e2398aa fix(guide): add intermediate solution to guide (#25485) 2019-02-27 19:03:53 -05:00
Nemanja Jeremic
8db94edcab added documentation ur (#34631)
added documentation url for  String.fromCharCode() method
2019-02-27 13:53:22 -08:00
Oliver Eyton-Williams
36bad642c2 Add variable declaration (#34702)
* Declare variable

* Update guide/english/certifications/javascript-algorithms-and-data-structures/functional-programming/use-the-map-method-to-extract-data-from-an-array/index.md

Co-Authored-By: ojeytonwilliams <ojeytonwilliams@gmail.com>
2019-02-22 14:03:34 -08:00
OLOGUNOWA Samuel
ce17020fed Added a missing opening bracket (#34447)
There was a missing opening bracket for the array `romans`
2019-02-14 19:45:57 -08:00
ghukahr
dcc1397c0c Fix "hint" code not working for the challenge: "Sum All Odd Fibonacci Numbers" (#28676)
* Fix code not passing on challenge tests

The code was not passing the challenge tests because we must sum only odd numbers. Cince we didn't provided an initial value for reduce, it would use the first element of the array, and if it was an odd number, it would skip our validation and add it to the final result.

[https://www.freecodecamp.org/forum/t/sum-all-odd-fibonacci-numbers-solution-not-passing-all-tests/236058](https://www.freecodecamp.org/forum/t/sum-all-odd-fibonacci-numbers-solution-not-passing-all-tests/236058)

* Same English fixed for Arabic

* Same English fix for Chinese

* Same English fix for Portuguese

* Same English fix for Russian

* Same English fix for Spanish
2019-02-12 15:54:53 -08:00
Kenny Zhou
342d8657a5 guide: add code explanations to algorithm (#25816)
Added a code explanation for the beginner and intermediate code solutions of the 'convert-html-entities' algorithm, from the js certification
2019-02-11 06:17:34 -05:00
Nemanja Jeremic
5fbdb753a7 added full explanation and solution for the challenge (#34364)
* Update index.md

* added second solution as suggested
2019-02-07 14:08:29 +01:00
Sidak Singh Aulakh
fe085246c8 Use the Spread Operator to Evaluate Arrays In-Place, adding the proper solution. (Fixes #35022) (#35037)
* Adding proper solution for spread operation

Use the Spread Operator to Evaluate Arrays In-Place: adding the proper solution for the challenge

* made some more changes

* Fixed the Solution in es6 class constructor guide

Fixed the vegetable solution in Guide: Use class Syntax to Define a Constructor Function
2019-02-05 11:39:52 +03:00
Andrei Calinescu
6f04b00ea0 Fixed spelling errors, omissions, code typos (#34145)
Added missing regex tags at the end, fixed variable name, and erased an unnecessary space at the end of some of the test strings.
2019-01-25 23:42:35 -08:00
The Coding Aviator
ca2d01a81c feat(curriculum): add grouping characters challenge and guide (#34875)
Added new challenge for mixed grouping of characters
2019-01-17 22:08:46 +01:00
JesseJams
0bc1b2fece Fix small typo (#28505)
'useres' to 'users'
2019-01-16 08:16:15 -06:00
Quentin REY
fa4ddea155 Correction Spolier -> Spoiler (#34474) 2019-01-15 17:25:02 -06:00
Kelly Downes
722d136858 Fix typo: add 'y' to truthy (#27517) 2019-01-15 17:23:05 -06:00
Kelly Downes
9e5e3dcf9b Fix order of hint paragraph 3 (#27514) 2019-01-15 17:22:35 -06:00
AdityaVT
6e9a09b013 Updated missing link for JS regex resources (#34306)
JS regex resources link above advanced solution wasn't referencing any webpage. Updated it to link to MDN's regular expressions guide.
2019-01-15 17:18:17 -06:00
alittlepickle
2262ab56b4 Updated stub article (#29494) 2019-01-15 17:16:40 -06:00
Kelly Downes
120f418c41 Fix typos: remove 's' from callback (#27512) 2019-01-15 17:13:12 -06:00
Resurreccion
2d85ecb317 Update index.md (#33630) 2019-01-15 16:54:07 -06:00
Rachel Irene Lunan
6dd7ce40d7 fixed spelling error (#29863) 2019-01-15 16:53:11 -06:00
Resurreccion
f1ef10aeb0 replace stub with guide (#33670) 2019-01-15 16:52:33 -06:00
Resurreccion
ff9ee6814b corrected conditionals (#29295)
previous version passed the tests, but were only relevant to the numbers  tested, not what the question was asking for.
2019-01-15 16:51:07 -06:00
rebelcl0ud
52637ceebb fix: update chunky monkey code solution links (#34258)
advanced code solution 3 links:
1. solution code shows 'slice' being used, but relevant link directed to 'splice'-- link now sends to 'slice'
2. 'run code' link showed adv code solution 2-- link now sends to code used in adv code solution 3
2019-01-15 16:24:17 -06:00
Adrian Skar
6300a5339f fix(guide): ES6 markup and edit fixes and improvements (#34691)
- Remove image of phantom
- Remove notes for contributors
- Links to bottom and to markdown + some more
- Alternative code solution

### Notes:
- The guide article mentions the challenge can be solved by using `reduce()` but I couldn't find a way to do so. It might be better to remove that reference and the bottom link until someone provides one.
- The alternative code solution I provided uses a simpler way (in my opinion) to check if the values are integers but does not differ much from the original one. If necessary, feel free to remove it and go on with just the fixes.
2018-12-27 18:09:51 +05:30
Rohan Mohammad
ac9a18a7f7 Update index.md (#34720) 2018-12-21 13:52:19 -08:00
Nhat Khanh
e5756ae1d6 [Guide] Functional Programming: Sort an Array Alphabetically using the sort Method. Fixes and enhancements. (#34678) 2018-12-21 22:50:52 +05:30
Mario Kandut
9ebc54e9d5 add: stub for regexp challenge - check for all or none (#31670) 2018-12-20 17:25:09 -08:00
Mario Kandut
7cc007e306 add: content for challenge: match whitespace (#31691) 2018-12-20 17:14:29 -08:00
James Liu
ba50f794bb Initial commit >= stub. Includes a hint. (#34036) 2018-12-20 17:12:29 -08:00
Fred Battle
cb2f76e1b2 fix: update guide hint to properly declare regex (#34625) 2018-12-12 15:48:22 -08:00
Gregory Gubarev
a3c185af2c [Guide] Added Intermediate Code Solution - Use Multiple Conditional (Ternary) Operators (#25851)
Added Intermediate Code Solution - Use Multiple Conditional (Ternary) Operators
2018-12-06 13:35:22 -06:00
Steve Gallant
d1d6c08215 docs: grammar and clarity updates (#34567)
* docs: grammar and clarity updates

* docs: clarity revision per request
2018-12-05 18:22:42 -08:00
VitBu
62ba0777e0 Adding short and clear solution 2018-12-02 00:23:24 +09:00
VitBu
d16c9b58fd Improved Advanced Code Solution (#22898)
This way it is less confusing + people should be aware of slice default arguments
2018-11-28 19:01:42 -07:00
VitBu
9fb1d9f49c Update index.md (#22622)
more easy to understand and short than all other solutions
2018-11-25 10:53:00 -07:00
Mateusz Konieczny
271b2c3434 Add new solution version that directly returns (#34427)
In this case (that is quite typical) more complicated
language features are not necessary.
2018-11-22 16:14:40 -05:00
Adrian Skar
82459dad13 [Guide] Basic JS: Ternary operator. Fixes and enhancements (#22633)
1. Fix code solution (it used the assignment operator to compare _a_ and _b_ instead of the comparison one; which wouldn't pass the test at the exercise page).
2. Add problem explanation, hint, code explanation, run example and resources
2018-11-22 00:36:11 +07:00
coderlyn
1ba28c9af6 Add new hint to break up problem into small chunks (#21881)
* Add new hint to break up problem into small chunks

* added block code syntax
2018-11-17 10:49:53 -07:00
Kelly Downes
af13067197 Fixed Typo: Added missing indefinite article 'a' (#25605) 2018-11-14 20:49:05 +05:30
Kiko Almela
0f5c28cfdf fix: update intermediate solution (#34263)
Intermediate code solution doesn't pass tests when the greater number is even because it's the starting acc without passing the reducer function that avoids even number.
Proposed solution: reverse the array before reduce.
2018-11-13 12:54:50 +05:30
Nemanja Jeremic
f0ce844ca0 updated solution styled as code block (#34266) 2018-11-13 12:54:33 +05:30
Nemanja Jeremic
aa050465e9 Corrected minor code errors (#34260) 2018-11-12 12:42:31 +05:30
AlexandreLeFou
5f03e0f036 Added a solution/fixed stub :) (#34251)
* Added a solution/fixed stub :)

I have added for the most known browser what keyboard combinations/shortcuts you can use in order to open up from Web dev tools the console and run the same code as we do in FCC camp!

Certifications/JavaScript Algorithms and Data Structures/Debugging/Understanding the Differences Between the Freecodecamp and Browser Console

* Deleted a link provided

I have previously provided a link upon which I have added the Macintosh shortcuts. 
I have deleted all the Mac set of keybords as I can't check them in my pc and it is considered plagiarism

* Fixed text 

added more instructions

* Added solution

updated with solution and JS code for solution+as well as hint

* deleted white space in solution

* added frontmatter

fixed Travis problem

* Update index.md
2018-11-10 10:30:30 +05:30
S.Hale
3920b7c4ce Corrected capitalization, corrected to American spellings and typos (#30685)
* Translate challenge subtitles and example challenge text to Spanish

* Corrected errors in syntax and punctuation

* Multiple corrections of it/s to its plus other grammar corrections

* Correction and added paragraph to CSS Flex article

* Corrected my own typo

* Corrected capitalization, American spellings and typos
2018-11-07 10:34:13 -05:00
AlexandreLeFou
ce33b6c650 Added a solution/fixed stub :) (#34198)
Added a solution to the stub regardingn Javascript Algorithms And Data Structures Certification\Regular Expressions
2018-11-06 22:48:58 -05:00
AlexandreLeFou
2910a9e6ac Added a solution-fixed stub :) (#34199)
Added a solution to the stub regarding Javascript Algorithms And Data Structures Certification\Regular Expressions
+ added a bit of a hint in the beginning to spice things up ;)
2018-11-06 22:48:01 -05:00
Melvin Viana
99bd2c1dbb Update "Finders-keepers" guide index.md (#34217)
* Update index.md

My proposed advanced solution

* Update index.md
2018-11-06 22:46:44 -05:00
Adrian Skar
72fe1c49e8 [Guide] ES6: var vs. let. Fixes and enhancements (#34221)
· Remove phantom image (purpose?)
· Remove unused anchor tag
· Delete notes for contributors
· Links to MD code + descriptions
2018-11-06 21:53:38 -05:00
Sara T
9900699d0b Fix equality expression in ternary operator (#34225)
The equality comparison expression (==) should be used instead of assignment (=)
2018-11-06 21:44:51 -05:00
akashnigam
7d9b587191 fix: update guide article to truncate a string in javascript (#34216) (#34228) 2018-11-06 17:36:03 -05:00