114 Commits

Author SHA1 Message Date
Randell Dawson
0a1eeea424 fix(guide) Replace invalid prism code block names (#35961)
* fix: replace sh with shell

fix replace terminal with shell

fix replace node with js

fix replace output with shell

fix replace cs with csharp

fix replace c++ with cpp

fix replace c# with csharp

fix replace javasctipt with js

fix replace syntax  with js

fix replace unix with shell

fix replace linux with shell

fix replace java 8 with java

fix replace swift4 with swift

fix replace react.js with jsx

fix replace javascriot with js

fix replace javacsript with js

fix replace c++ -  with cpp

fix: corrected various typos

fix: replace Algorithm with nothing

fix: replace xaml with xml

fix: replace solidity with nothing

fix: replace c++ with cpp

fix: replace txt with shell

fix: replace code with json and css

fix: replace console with shell
2019-05-15 19:08:19 +02:00
Randell Dawson
4b4762716c fix(curriculum): Rewrote the Write Higher-Order Arrow Functions challenge and moved to Functional Programming section (#35954)
* fix: reworded and moved challenge

* fix: removed extra line

Co-Authored-By: RandellDawson <5313213+RandellDawson@users.noreply.github.com>

* fix; removed extra line

Co-Authored-By: RandellDawson <5313213+RandellDawson@users.noreply.github.com>

* fix: reworded sentence

Co-Authored-By: RandellDawson <5313213+RandellDawson@users.noreply.github.com>
2019-05-15 11:12:17 -05:00
Randell Dawson
b013f2ab3a fix: declared x variable (#36046) 2019-05-15 11:49:44 +05:30
Deanna Tran
338d7ee8a7 Change "rest operator" to say "rest parameter" in challenges and guide (#35496)
* change es6 challenges rest operator to param

* fix rest parameter typos

* change rest operator to parameter in guide

* fix casing

* change rest operator to rest parameter in guide

* change rest operator to rest parameter in curriculum

* remove extra whitespace

* remove whitespaces

* remove whitespace

* fix: removed arabic file

* fix: removed chinese file
2019-05-08 16:30:24 +02:00
Tom
3cecf26f44 update restrict possible usernames solution (#35973) 2019-05-05 13:37:03 -07:00
Randell Dawson
cc6f234228 [Fix] correct Guide article example for Iterate Through the Keys of an Object with a for...in Statement (#35197)
* fix: added dot btwn [user] and online

* fix: corrected example for other languages
2019-05-05 13:26:22 -05:00
Navjot Singh
b9fdbffa71 Broken Links in Sum of all odd Fibbonaci Nos Guide (#35911)
Fixed a broken and a missing link in the guide.
2019-05-03 14:21:09 +05:30
Randell Dawson
88e7c2d704 fix: added better hint and solution (#35746) 2019-05-01 18:09:45 -04:00
Daniella Todd
36a4df9afa Updated solution-Include intro (#34199) (#34486)
Added intro paragraph and further hints.
2019-05-01 12:48:31 +02:00
Peter Kay
a1e33ebf81 update regex resource link (#35901) 2019-04-24 07:19:44 -07:00
Cezary Waś
65a92f7ef9 Defining variables (#35891)
biString, uniString and i should be defined.
2019-04-22 11:25:30 +05:30
sidiousvic
7f845c1d2f [NEW] A clearer, more readable return statement (#35565)
* A clearer, more readable return statement

Use .filter() to get the odd values in array.
Use .reduce() to sum.

Two separate tasks, one line, easier to read and understand.
Updated comments and Code Explanation accordingly.
2019-04-12 14:29:47 +02:00
asims2404
c7aba9e970 Removed image (#35806) 2019-04-09 15:41:23 -07:00
asims2404
83c9258bed Update index.md (#35805)
The advanced solution does not meet problem criteria.
"The built-in repeat()-method should not be used"
2019-04-09 15:39:45 -07:00
David
685dbbde7f Updated problem example to a working implementation matching the solution style (#35062) 2019-04-02 17:47:17 -07:00
Oliver Eyton-Williams
73277d8ba8 fix: Restore missing emojis and fix broken links (#35703)
* fix: Restore missing emojis and fix broken links

* fix: Remove emojis to conform with style guide

* fix: Remove the last emoticons
2019-03-29 12:52:56 -07:00
Andrew Ma
7a37788ea1 add beginner solution to pig latin (#35572) 2019-03-29 22:48:54 +05:30
Adrian Skar
08bdc8640e fix(guide): ES6 destructuring assignment with the rest operator (#35681)
* fix(guide): ES6 destructuring assignment with the rest operator

Minor fixes/enhancements.

* Update guide/english/certifications/javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-with-the-rest-operator-to-reassign-array-elements/index.md

Co-Authored-By: AdrianSkar <adrian@adrianskar.com>

* Update guide/english/certifications/javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-with-the-rest-operator-to-reassign-array-elements/index.md

Co-Authored-By: AdrianSkar <adrian@adrianskar.com>

* Update guide/english/certifications/javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-with-the-rest-operator-to-reassign-array-elements/index.md

Co-Authored-By: AdrianSkar <adrian@adrianskar.com>

* Fixes for solutions 

Copy/paste friendly code as discussed.

* Update guide/english/certifications/javascript-algorithms-and-data-structures/es6/use-destructuring-assignment-with-the-rest-operator-to-reassign-array-elements/index.md

Co-Authored-By: AdrianSkar <adrian@adrianskar.com>
2019-03-29 09:40:13 -07:00
Amy Lam
914a7c522d Copy edits (#35536)
* Copy edits to Basic JavaScript section

* Copy edits to ES6 section

* Update index.md
2019-03-29 22:06:58 +05:30
Nikolai Kiselev
03c603787f Add solution to Arguments Optional challenge (#35654)
* Add solution to Arguments Optional challenge

* fix: remove repl.it links

* fix: rename variables

* fix: remove unused parts of template

* fix: update links markdown

* fix: replaced existing Intermediate with this one
2019-03-29 06:17:56 -07:00
grets311
3ece63f044 Update solution to meet exercise criteria (#34583)
The exercise requires a match at greater than 5 characters however the solution has a match occurring at a minimum of 5.
Request to update 5 to a 6.
2019-03-29 04:55:24 -04:00
Catherine
1df0fcdb9f Adding a second solution with a "for" loop (#35299)
* Adding a second solution with a "for" loop

+ adapted some texts to make the whole thing coherent
+ added some Useful links at the end of the article

* Update index.md

* Update index.md

* Update index.md

* Update index.md

* Update index.md

* Update index.md
2019-03-28 18:01:46 +05:30
Lipis
e84ae45008 Javascript -> JavaScript (English) (#35183)
* Javascript -> JavaScript (English)

* Update technical documentation page for required change

* Update use-class-syntax-to-define-a-constructor-function.english.md

* Update left-factorials.md
2019-03-28 14:05:41 +05:30
Zheng Fu
5dd27f88e4 simplifying the mathematical solution for Sum All Numbers in a Range (#35007)
* simplifying the mathematical solution

We don't need to sort the two number array, using Math.abs() we can get the count of the numbers in range and calculate the sum.

* Remove previously relevant info regarding sort()

* Clarify code for better readability

* change let to const according to review

* added missing semicolon
2019-03-27 22:26:59 +05:30
Randell Dawson
6f5610c4f3 fix: removed thanks and username references in english guide (#34946) 2019-03-27 22:25:49 +05:30
Pawel Koronkiewicz
8d95b8af5d Fixed a link at first Relevant Links section. (#35680) 2019-03-26 19:41:58 +05:30
Adrian Skar
772f4e1c40 [Guide] ES6: Compare var and let scopes. Fixes and enhancements. (#34636)
* [Guide] ES6: Compare var and let scopes. Fixes and enhancements.

- Remove phantom image
- Remove notes for contributors
- Change explanation and hints so they don't provide the solution too early.
- Links to markdown + 2 more resources

* Update guide/english/certifications/javascript-algorithms-and-data-structures/es6/compare-scopes-of-the-var-and-let-keywords/index.md

Co-Authored-By: AdrianSkar <adrian@adrianskar.com>

* Update guide/english/certifications/javascript-algorithms-and-data-structures/es6/compare-scopes-of-the-var-and-let-keywords/index.md

Co-Authored-By: AdrianSkar <adrian@adrianskar.com>

* Update guide/english/certifications/javascript-algorithms-and-data-structures/es6/compare-scopes-of-the-var-and-let-keywords/index.md

Co-Authored-By: AdrianSkar <adrian@adrianskar.com>

* Update guide/english/certifications/javascript-algorithms-and-data-structures/es6/compare-scopes-of-the-var-and-let-keywords/index.md

Co-Authored-By: AdrianSkar <adrian@adrianskar.com>

* Update guide/english/certifications/javascript-algorithms-and-data-structures/es6/compare-scopes-of-the-var-and-let-keywords/index.md

Co-Authored-By: AdrianSkar <adrian@adrianskar.com>

* fix: clarified the hint regarding variable i
2019-03-25 15:55:20 -07:00
Hassan Usman
d331ad1fcd Fix typos: JS intermediate algorithm guide (#34874)
* Typo: JS Algorithm missing-letters

* Fix typo: Broken link syntax

* Fix typo: missing bracket

* Remove duplicate link/info
2019-03-25 09:03:55 -07:00
Emily Mentrek
2113b44b8a Correct typos in ES6 guide for getters/setters (#34951) 2019-03-23 15:19:15 -07:00
Nikolai Kiselev
4bc1d74f2a Add a solution for Finders Keepers challenge (#35655)
* Add a solution for Finders Keepers challenge

* Update link to markdown

* fix: removed repl.it link

* fix: made this the Intermediate Solution

* fix: added correct Intermediate icon
2019-03-23 08:35:58 -07:00
Eliezer Valenzuela
933ef11154 Added solution using map() (#34701)
* Added solution using map()

* Update guide/english/certifications/javascript-algorithms-and-data-structures/basic-algorithm-scripting/find-the-longest-word-in-a-string/index.md

Co-Authored-By: vzla0094 <43974195+vzla0094@users.noreply.github.com>

* Update guide/english/certifications/javascript-algorithms-and-data-structures/basic-algorithm-scripting/find-the-longest-word-in-a-string/index.md

Co-Authored-By: vzla0094 <43974195+vzla0094@users.noreply.github.com>
2019-03-23 16:08:25 +05:30
Nikolai Kiselev
ad5e844cb5 Add another solution (#35644) 2019-03-21 15:24:12 +05:30
Matheus Genteluci
6f28548668 Understand where an objects prototype comes from (#34643)
* Understand where an objects prototype comes from

- One hint and Solution added to index.md

* Add original seed code
2019-03-17 17:19:21 -07:00
Drew Clements
4f71d9c8a7 Additional solution to Functional JS challenge (#29052)
* Added additional solution to the challenge

* Moved code explanation out of code block

* fix: moved sentences to same paragraph
2019-03-11 14:07:47 -07:00
Adrian Skar
97a74b68e8 [Guide] ES6: Prevent object mutation; fixes and enhancements (#34649)
* [Guide] ES6: Prevent object mutation; fixes and enhancements

- Remove phantom image
- Remove notes for contributors
- Change explanation and hints.
- Links to markdown

* Changed as requested

Changed titles as requested by @randelldawson. 
Note: I'm just used to [MDN](https://developer.mozilla.org/en-US/docs/MDN/Contribute/Guidelines/Writing_style_guide#Page_titles) and other language styles and though it was clearer. Is it ok now for this guide?

* fix: removed repl.it link
2019-03-10 11:07:48 -07:00
Mario Kandut
61e8a7c8bd add: content for this challenge (#31782) 2019-03-08 14:53:49 -08:00
Mario Kandut
41314f1364 add: content for challenge - match ending string patterns (#31774) 2019-03-08 14:50:49 -08:00
JeanMendes
bdc7c22ee6 Update "Escape Sequences in Strings" stub (#34006)
* Update "Escape Sequences in Strings" stub

* fix: replaced backspace with word boundary
2019-03-08 14:47:58 -08:00
Adrian Skar
f0270b8439 [Guide] Basic JS: Inequality operator. Enhancements (#28501)
* Basic JS: Inequality operator. Enhancements

From [this PR on the old guide repo](https://github.com/freeCodeCamp/guide/pull/8651)
·Added exercise explanation, run code link, code explanation and resources.

* fixed: fixed typo
2019-03-08 14:42:20 -08:00
Adrian Skar
64d7eba61b [Guide] Basic JS: Greater than operator. Enhancements (#28510)
* [Guide] Basic JS: Greater than operator. Enhancements

From [this PR on the old guide repo](https://github.com/freeCodeCamp/guide/pull/8663).
· Added problem explanation, run code example, code explanation and resources.

* fix: removed repl.it link
2019-03-08 14:42:05 -08:00
Andrei Calinescu
baed72fd3d Explained solution and added alternate (#34718)
* Explained solution and added alternate

Explained why the solution works and added an alternate, less elegant solution for comparison.

* Removed last line per feedback
2019-03-08 14:41:08 -08:00
F94Olivera
e0ce2301e6 Added Hint 2 & remove repl links (#34745) 2019-03-08 14:36:08 -08:00
Matheus Genteluci
9d09a12906 Use the javascript console to check the value... (#34644)
* Use the javascript console to check the value...

... of a variable.

- Solution added to index.md

* add full solution
2019-03-08 13:03:18 -08:00
Rachel Irene Lunan
c241ca7c49 added spelling hints (#29868)
* added spelling hints

* fix: changes pratfalls to mistakes
2019-03-07 14:17:12 -08:00
Tom
65c3188fd7 Fix/remove stubs on filled articles (#35506) 2019-03-06 01:57:17 +05:30
Randell Dawson
0b912a1220 fix: removed invalid Intermediate solution (#35504) 2019-03-05 09:37:01 -06:00
John Mantas
cf721281ca Add solution using RegExp (#34294) 2019-03-04 15:35:27 -08:00
Mateusz Konieczny
b0c239ff53 Fix match single unspecified characters hint page (#34615) 2019-03-04 17:14:38 +05:30
OLOGUNOWA Samuel
f93e494f4a A basic solution to challenge sum-all-primes (#34249) 2019-03-04 16:06:05 +05:30
Ruben Lamon
a412195e38 added extra solution to pig latin guide (#34465)
* added extra solution to pig latin guide

* Fixed repl.it link for Advanced solution

* Remove repl links

* Fix formatting issue
2019-03-03 17:53:46 -08:00