16 Commits

Author SHA1 Message Date
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
Vel Kumric
bc879e14d2 Feat/add guide article for javascript (#34007) 2018-11-04 11:35:54 +05:30
Kaiguang Li
360e3fffbd Fix misplaced anchor tag (#20346) 2018-10-30 19:01:01 -07:00
Pablo Rubianes
5c2bd53d5c fixes the Advanced Code Solution to make it work when run tests in the Convert HTML Entities exercise (#24930)
* fix in the Advanced Code Solution to make it work when run tests

* making htmlEntities a const to fix the example
2018-10-25 13:41:36 -07:00
Adrian Skar
816036dba6 [Guide] Basic JS: parseInt using radix. Replace stub with guide (#22456)
Guide for [Basic JavaScript: Use the parseInt Function with a Radix](https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/use-the-parseint-function-with-a-radix)
2018-10-24 14:10:49 +05:30
Gregory Gubarev
47bff1626b Javascript: add solution to hint Match Characters that Occur Zero or … (#19231) 2018-10-21 15:56:48 +09:00
Bouncey
6d511c558a fix(guide): Fix all frontmatter 2018-10-19 16:28:34 +01:00
Bill Sourour
f0eb384b10 Smallest Common Multiple – Optimized Advanced Solution (#19572)
* Optimized advanced solution

Made 2 minor improvement to the advanced solution:

1. The original advanced solution used `Math.max` and `Math.min` against the supplied array, this causes the values in the supplied array to be compared twice. If we use sort instead, the values are only compared once and we can target the max and min values using an index. This is more efficient.

2. The original solution caused `lcm(min, min + 1)` to be evaluated twice. By incrementing `min` the first time we run `lcm` we avoid this duplication and also by taking advantage of the prefix increment operator ++ in the while loop, we trim a line.

* Fixed extra spaces in code block

* Incorporated code feedback from #19572

Made the following changes to the advanced code solution:

- Converted helper functions to arrow function constants
- Simplified comments
- Used destructuring and `sort` for `min` and `max`

* Fixed spacing.
2018-10-18 10:08:45 -07:00
Adrian Skar
a01cc367e0 [Guide] Basic JS: Random numbers within range. Enhancements (#19539)
* [Guide] Basic JS: Random numbers within range. Enhancements

Added code solution, explanation, resources and other minor fixes.

* Additional fix; list.

* update: created ordered list of calculation
2018-10-17 09:31:27 -07:00
Mrugesh Mohapatra
da0df12ab7 fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30