Commit Graph

317 Commits

Author SHA1 Message Date
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
Andrew Ma
586730b69a better solution to redux spread operator (#35592)
2 step -> 1 step
2019-05-05 12:40:32 -05:00
lasjorg
7573252fa0 feat(guide): add guide for HTML value attribute challenge (#35783) 2019-05-03 10:16:50 -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
Garret Kemp
0ba2b1b09c Solution and hint added to challenge (#35762) 2019-04-30 09:14:23 -07:00
chaomt
fbe8dcdf6b fix(guide): binary search tree min/max height (#35938)
We added the correct solution to the guide article related to this code challenge, and deleted the other information which is not related to the code challenge at all.
2019-04-30 13:16:17 +05:30
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
StanimalTheMan
01b61eb831 fix: update grammar & spelling react (#35882) 2019-04-20 08:55:03 -07:00
Ian Korpi
edc9d0f134 Expand Certifications/Information Security and Quality Assurance article stub (#27397)
* Expand InfoSec & QA article

Expand the Information Security & Quality Assurance root article.

* Fixing capitalization in InfoSec title.
2019-04-17 16:59:21 +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
Renato Francia Castillo
ce02e2746c Fixed grammar in article chain-search-query-helpers-to-narrow-search-… (#35521)
* Fixed grammar in article chain-search-query-helpers-to-narrow-search-results

* Remove guide template
2019-04-02 22:46:50 +05:30
StanimalTheMan
781c217001 Propose a Basic Solution to Adjacency List Problem (#35511)
* Propose a Basic Solution to Adjaceny List Problem

* Update guide/english/certifications/coding-interview-prep/data-structures/adjacency-list/index.md

Co-Authored-By: StanimalTheMan <43020892+StanimalTheMan@users.noreply.github.com>

* Remove template
2019-04-02 22:45:01 +05:30
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