Commit Graph

336 Commits

Author SHA1 Message Date
six9
f03418f7aa Update index.md (#36453) 2019-07-14 06:05:41 +01:00
Jinyoung Park
5602111789 fix : add URL to a missing link (#36413)
* fix : add URL to a missing link

In Relevant Links (line 54), the first URL text 'Using typeof' was missing a href value. I fixed it by adding the link to a FreeCodeCamp's Javascript Debugging curriculum that introduces typeof method. (
Debugging: Use typeof to Check the Type of a Variable : https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/debugging/use-typeof-to-check-the-type-of-a-variable)

* I'm a first-time open source contributor. If you have any feedback about my pull request, feel free to share it with me.

* Update guide/english/certifications/javascript-algorithms-and-data-structures/basic-algorithm-scripting/boo-who/index.md

Remove the first bullet instead of adding the link (suggested by RandellDawson)

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2019-07-09 08:12:23 -07:00
Nilys
f75e20a969 Delete redundant solution (#36393)
The first advanced solution is almost identical to the intermediate one. Per "similar but better" rule, I believe the first one should be kept (or at the bare minimum, they should at least fill the same category).
2019-07-07 17:05:02 -07:00
Randell Dawson
8ee2e5eaa9 fix: replace url with empty array in solution (#36380) 2019-07-06 12:35:06 +05:30
Sudipto Ghosh
29823fe495 Expanded guides for some APIs and Microservices challenges and fixed links to the source files (#36131)
* Expanded the solution for the 'Get Route Parameter Input from the Client' challenge

* Expanded the guide for the 'Use body-parser to Parse POST Requests' challenge

* Rewritten guide for the 'Serve JSON on a Specific Route' challenge and fixed source link

* Expanded the guide for the 'Serve Static Assets' challenge

* Expanded solution to the 'Get Query Parameter Input from the Client' challenge and fixed links to source file

* Added solution to the 'Chain Middleware to Create a Time Server' challenge and fixed link to source file

* Rewrite the 'Start a Working Express Server' challenge

* Expanded the guide for 'Expand Your Project with External Packages from npm'

* Added reference to semantic versioning in 'Add a Version to Your package.json'

* fix/remove-links+fix-solutions

* fix/remove-more-links
2019-07-01 20:35:15 -05:00
orangegrove1955
27ae86f0ef Updated English guide articles for all QA and Testing with Chai challenges (#35080)
* Updated guide articles for all Quality Assurance and Testing with Chai challenges to include hints and solutions

* fix: 2 space indentation and code formatting
2019-07-01 16:00:18 -05:00
Randell Dawson
331cbb88f8 fix(guide): Remove repl.it links from challenge related guide articles (English) (#36204)
* fix: remove repl.it links english

* fix: add extra line

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: add extra line

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: add extra line

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: add extra line

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: add extra line

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: add extra line

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: add extra line

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: add extra line

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* fix: add extra line

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
2019-07-01 08:49:24 -05:00
Tiago Salema
fcefb7895d Added a suggestion of solution with a simple for loop (#35884)
* Added a suggestion of solution

* fix: removed repl.it links and corrected bullets
2019-06-27 17:52:00 -07:00
João Luiz
aec887be68 Update URL-Shortener-Microservice Hint Markdown (#36299)
Creating a Hinting for this project with useful tips
2019-06-27 10:42:25 -07:00
Mehul Lakhanpal
90036cc711 feat: add article for balanced-brackets (#36160)
* feat: add article for balanced-brackets

* fix: reformatted and refactored solution
2019-06-26 10:53:46 -07:00
Nicholas Win
d50b4970dc Add method, solution, and reference. (#32135)
* Add method, solution, and reference.

* fix: removed stub text
2019-06-26 17:10:57 +01:00
Randell Dawson
81a0c0c8e0 fix(guide) add solutions to Factorialize a Number and Reverse and String challenges (#35967)
* fix: added iterative basic solution

* fix: added another basic solution
2019-06-25 18:34:03 -07:00
Ina S.Lew
566e112d5d Added step-by-step instructions to 'how-to-use-package.json-the-core-of-any-node.js-project-or-npm-package/index.md' (#35868)
* Added step-by-step instructions and screenshots

Added step-by-step instructions to set up an anonymous node/express project for the challenges and three demo screenshots.

* Removed screenshots from instructions

* fix: changed javascript to json

* fix: changed to two-space indentation
2019-06-25 13:15:51 -07:00
Navjot Singh
f267d2a61b Fixed Broken Links in Binary Agents (#35947)
The parseInt link to the freecodecamps forum pointed to a link with no resource. And Also fixed the link for String.length and removed a dead link.
2019-06-25 12:59:15 -07:00
Randell Dawson
3f56cf6f54 fix replace code with applicable language postfix 2019-06-25 16:57:43 +08:00
Randell Dawson
f57e6d69d8 fix: remove codepen.io links from challenge articles 2019-06-25 16:52:24 +08:00
Randell Dawson
3fa14df925 fix: renamed folder without starting dash (#36124) 2019-06-21 18:05:33 -04:00
Stan Choi
a13d116aab fix(learn): Added solution for invert binary tree data structures challenge (#35922)
* fix: add solution for invert binary tree

* Fixed errors

* Used 2 spaces per request

* deleted images

* Update guide/english/certifications/coding-interview-prep/data-structures/invert-a-binary-tree/index.md

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

* Update guide/english/certifications/coding-interview-prep/data-structures/invert-a-binary-tree/index.md

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

* Update guide/english/certifications/coding-interview-prep/data-structures/invert-a-binary-tree/index.md

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

* Update guide/english/certifications/coding-interview-prep/data-structures/invert-a-binary-tree/index.md

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

* fix: added extra line to avoid linting errors
2019-06-20 13:28:37 -04:00
Harkirat Singh
8f25305ab2 Update index.md (#35322)
* Update index.md

Completion of the solution code.

* fix: changed code to json
2019-06-12 17:39:51 -07:00
James Hogan
dda4797118 Hints+Solution for D3 Display Shapes Challenge (#29513)
* Hints+Solution for  D3 Display Shapes Challenge

* fix: removed stub info
2019-06-11 09:48:33 -07:00
James Hogan
65bccdb9bd provide hints+solution to SVG/D3 Challenge (#29509)
* provide hints+solution to SVG/D3 Challenge

* fix: removed stub info
2019-06-11 09:48:22 -07:00
James Hogan
a827e1c910 Hints+Solution - 'Create a Bar for Each Data Point in the Set' (#29527)
* Hints+Solution - 'Create a Bar for Each Data Point in the Set'

* fix: removed stub info
2019-06-11 09:48:11 -07:00
Natalie Cardot
4cebb759f2 Spelling/grammar fixes (#36164) 2019-06-08 11:18:08 +05:30
Natalie Cardot
33a61168c0 Correct word in code explanation (#36146) 2019-06-01 09:06:54 -05:00
Randell Dawson
ad3d0aed04 fix: corrected guide solutions and explanations (#36125) 2019-05-29 01:34:08 +05:30
Guayo Mena
f5b94b51f1 feat(curriculum): Extend solution explanation for Convert HTML Entities challenge (#35835)
* Extend solution explanation

The explanation for the advanced code solution was a little cumbersome.
It tried to explain the used method, but also tried to explain an alternative solution, both mixed together.
To fix that, I moved everything related to the alternative solution to another paragraph.
Additionally, I added a more detailed explanation about this alternative solution.
Hopefully, with this fixes, both solutions will be clearer to the user.

* Replace intermediate solution

Replace the intermediate solution with a more concise one.

I took the opportunity to eliminate the indenting in all 3 snippets to remove unnecessary blank space on the left.
I also changed the wording on one of the instructions and fixed a typo.

* Remove external links

* Simplity regex declaration

I replaced `new RegExp()` in order to make the solution cleaner and shorter

* Update index.md
2019-05-26 17:53:41 +05:30
alittlepickle
c4c8de1c20 Updated from a stub to give basic info (#29726)
* Updated from a stub to give basic info

* fix: removed all of stub info
2019-05-25 21:22:43 -07:00
Vishwas Navada K
78826ea90d Fix the function call flattenArray->steamrollArray (#36128)
Replace the function call in the Intermediate Code Solution from flattenArray to steamrollArray which is the actual function name.
2019-05-25 17:49:57 -07:00
lasjorg
c852dc7d1d fix(guide): correct regex for intermediate solution code (#35784) 2019-05-24 23:45:26 -07:00
Parth Parth
705c781d19 Added solution to Extend One Set of CSS Styles to Another Element (#34771)
* Update index.md

* fix: changed indentation
2019-05-24 23:36:18 -07:00
Crystal Yungwirth
c37cb92e63 Alternative Advanced Code Solution (#35965)
* Alternative Advanced Code Solution

Uses .replace() instead of .split()-.join()

* Update guide/english/certifications/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/binary-agents/index.md

Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>

* Update guide/english/certifications/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/binary-agents/index.md

Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>

* Update guide/english/certifications/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/binary-agents/index.md

Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>

* Update guide/english/certifications/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/binary-agents/index.md

Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>

* Update guide/english/certifications/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/binary-agents/index.md

Co-Authored-By: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>

* Update guide/english/certifications/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/binary-agents/index.md

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

* Addresses review by RandellDawson
2019-05-25 01:40:05 +05:30
Natalie Cardot
545b8a6f34 Modify if statement (#36088)
* Modify if statement

Change the solution so an empty string is returned when num is less than 1 rather than less than 0 for consistency with instructions.

* Add test 

New test checks that if num is 0, an empty string is returned

* Fix test 

Fixing errors in newly proposed test that checks that empty string is returned when num is 0

* Modify intermediate solution

Changing if statement in intermediate solution to check whether num is less than 1 rather than less than 0. (Also adding curly brackets to that solutions if/else statements.)

* fix: removed unnecessary assert message arguments
2019-05-20 21:08:20 -04:00
Matt Schlosser
c201e41564 typo: Remove errors within a challenge solution (#36097)
* Remove random links from code

Seems that these got added by accident.

* Remove errors from solution in Portuguese version

* Remove errors from solution in Spanish version

* Remove errors from solution in Russian version

* Remove errors from solution in Arabic version

* Remove errors from solution in Chinese version
2019-05-20 12:48:28 -07:00
Ahmad Abdolsaheb
a16539becf fix: replace imgur with s3 for english guide without conflict (#36053)
* fix: imgur to s3 for englsh guide without conflict

(cherry picked from commit 9c9f15abf4e755feab79ef7090dacdcf497ea7b6)

* fix: revert unrelated changes
2019-05-20 23:54:51 +05:30
Rajat Verma
53fd5d8c14 solution logic fixed for negative numbers (#36093) 2019-05-20 08:31:10 -07:00
Gerard Hynes
a30982e862 Add comments and update callback arguments' names (#36082)
* Add comments and update callback arguments' names

I've added a few comments to the solution and given the callback arguments more descriptive names to clarify what the solution is doing, since this challenge seemed a little more complex than the previous challenges.

* Update guide/english/certifications/javascript-algorithms-and-data-structures/functional-programming/use-the-reduce-method-to-analyze-data/index.md

That makes absolute sense and is clearer. Thank you.

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

* Update indentation to be two-spaced
2019-05-19 10:45:34 -07:00
Dipto Karmakar
3dc8f10ae8 Update add-inline-style-in-react (#35739)
- Add my solution in the hint.
2019-05-18 23:02:46 -05:00
Tom
21118bc26a fix/regex-lower-number-of-matches (#36004)
* fix/regex-lower-number-of-matches

* fix/update-guide

* fix/convert-blockquote-to-backticks
2019-05-17 23:53:00 +01:00
The Coding Aviator
39a9da5c1d Added solution to D3 predefined scale challenge (#34242)
* Update index.md

* Update index.md

* spacing

* Update index.md
2019-05-16 09:04:54 -07:00
The Coding Aviator
e6fef5ff34 Added solution to D3 use dynamic scales challenge (#34241)
* Update index.md

* Update index.md

* Update spacing

* Update index.md
2019-05-16 09:04:08 -07:00
Andrew Ma
1d77711431 add solution to redux remove item from array (#35593) 2019-05-16 13:01:37 +05:30
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
The Coding Aviator
d390b40a9f Update index.md (#34282) 2019-05-15 01:16:58 -07:00
Randell Dawson
b013f2ab3a fix: declared x variable (#36046) 2019-05-15 11:49:44 +05:30
Randell Dawson
d3c8eacef2 Hints & Solution for React and Redux (#35946) 2019-05-09 18:57:06 +05:30
Randell Dawson
1b07106f8e fix: removed guide articles no longer needed (#35679) 2019-05-08 21:26:48 -05:00
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