Durbatuluk1701
0a7aa59d51
fix(learn): Convert response testcase regex handles any variable name ( #40568 )
...
* Update convert response to JSON testcase
Testcase previously required that variable be named exactly "response". Changes will allow variable of any name to be used.
Example: res can now be used and tests still pass.
* Forgot the \ in front of )
2021-01-21 08:54:24 -08:00
Oliver Eyton-Williams
ee1e8abd87
feat(curriculum): restore seed + solution to Chinese ( #40683 )
...
* feat(tools): add seed/solution restore script
* chore(curriculum): remove empty sections' markers
* chore(curriculum): add seed + solution to Chinese
* chore: remove old formatter
* fix: update getChallenges
parse translated challenges separately, without reference to the source
* chore(curriculum): add dashedName to English
* chore(curriculum): add dashedName to Chinese
* refactor: remove unused challenge property 'name'
* fix: relax dashedName requirement
* fix: stray tag
Remove stray `pre` tag from challenge file.
Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-12 19:31:00 -07:00
Oliver Eyton-Williams
0bd52f8bd1
Feat: add new Markdown parser ( #39800 )
...
and change all the challenges to new `md` format.
2020-11-27 10:02:05 -08:00
James Bush
5164b09dab
Update post-data-with-the-javascript-xmlhttprequest-method.md ( #39835 )
...
Uses common language to describe API data request. Improves clarity of instruction.
2020-10-14 16:34:13 -06:00
Oliver Eyton-Williams
2b9e38a17b
fix: replace .english.md extension with .md
2020-09-29 22:09:04 +02:00
Oliver Eyton-Williams
d7dc1acb4a
chore: update lang tags on code blocks
2020-09-16 11:54:08 +05:30
Oliver Eyton-Williams
bd68b70f3d
Feat: hide blocks not challenges ( #39504 )
...
* fix: remove isHidden flag from frontmatter
* fix: add isUpcomingChange
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
* feat: hide blocks not challenges
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-09-03 15:07:40 -07:00
Oliver Eyton-Williams
f1c9b08cf3
fix(curriculum): add isHidden: false to challenges
...
This includes certificates (where it does nothing), but does not
include any translations.
2020-05-25 16:25:19 +05:30
Randell Dawson
1f2a93b646
fix: added additional test for altText ( #38395 )
2020-03-23 07:02:34 -05:00
Randell Dawson
c401fc7f83
fix(curriculum): removed solution required comment from 6 challenges ( #38339 )
...
* fix: removed solution required comments
* fix: fixed two more challenge soltuions with solution required comment
* fix: remove debugging code
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-03-09 13:58:46 +01:00
rsapkf
cfbb3f64c4
Change variable declaration from var
to let
in description ( #38150 )
2020-02-02 15:29:03 -06:00
Wocanilo
cabfd25b40
MODIFIED convert-json-data-to-html to warn about XSS attacks (english) ( #37036 )
...
* MODIFIED convert-json-data-to-html to warn about XSS attacks (english)
* Forgotten newline in convert-json-data-to-html
* Update curriculum/challenges/english/04-data-visualization/json-apis-and-ajax/convert-json-data-to-html.english.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* Update curriculum/challenges/english/04-data-visualization/json-apis-and-ajax/convert-json-data-to-html.english.md
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* fix: suggested changes
* fix: added commas
2019-11-30 12:52:59 -06:00
Randell Dawson
4fbe02abba
fix(curriculum): Added necessary variable declarations for JSON APIs and Ajax challenges ( #37535 )
...
* fix: added necessary variable declarations
* fix: added spacing
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added spacing
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added spacing
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added spacing
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added spacing
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added spacing
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added spacing
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added spacing
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added spacing
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added spacing
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added spacing
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added spacing
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added spacing
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added spacing
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added spacing
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: deleted unnecessary file
* fix: corrected some spacing
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: indented code sections
2019-11-25 12:21:17 -06:00
HoJeong Im
1fb202b742
fix(curriculum) - Add class box in json apis and ajax ( #37725 )
...
* Add class box in json apis and ajax
* Remove .box in id & add .box in seed code
2019-11-15 08:56:28 +01:00
Matheus Genteluci
67e0f33a89
feat: Add Solution to handle click event - English ( #37069 )
2019-11-11 09:19:28 +01:00
Tom
428ab97650
Fix/tests whitespace strictness ( #36706 )
...
* fix(tests): make less strict about white space
2019-08-28 10:53:17 +02:00
Tom
46d67deb46
fix(test): make less strict about whitespace ( #36705 )
2019-08-28 10:48:57 +02:00
Randell Dawson
568f00e02a
fix(curriculum): Added forumTopicId to remaining 1200 challeng… ( #36558 )
2019-08-05 22:14:37 +05:30
Randell Dawson
3ec1fe8ea7
feat: add forumTopicId to challenge frontmatter [pre-existing]
...
This commit adds the pre-existing challenge guide topics in the
forum to the forntmatter of their challenge markdown files.
2019-08-05 22:14:37 +05:30
mrugesh
91df817cfe
fix(guide) add stubs, update spellings and prepare for move ( #36531 )
...
* fix(guide) add stubs and correct file path misspellings and pr… (#36528 )
* fix: corrected file path to match curriculum
* fix: renamed to newer challenge name
* fix: added solutions to articles from challenge files
* fix: added missing .english to file name
* fix: added missing title to guide article
* fix: correct solution for guide article
* fix: replaced stub with hint
* fix: added space in Hint headers
* fix: added solution to guide article
* fix: added solution to guide article
* test: replaced stub with hint and solution
* fix: add Problem number: to title
* fix: changed generatorexponential to correct name
* fix: renamed knight's tour to knights-tour
* fix: updated guide article
2019-07-30 00:25:58 +05:30
Randell Dawson
c387873640
fix(curriculum): added extra line before </section> tag - Engl… ( #36278 )
2019-07-19 15:30:17 +05:30
Randell Dawson
db8098601e
fix(curriculum): Remove unnecessary assert message argument from English Data Visualization challenges ( #36424 )
...
* fix: removed assert msg argument
* fix: corrected test text
2019-07-11 10:53:41 +02:00
leodaher
0be75e4b39
feat(curriculum): Add fetch challenge to the current curriculum. ( #36033 )
...
* Add fetch challenge for the current curriculum
2019-06-18 00:19:33 +02:00
Randell Dawson
dd6011b2cc
fix(curriculum): Convert blockquote elements to triple backtick syntax for Data Visualization ( #35995 )
...
* fix: convert data visualization
* fix: reverted to blockquote
* fix: changed js to json
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: cleaned up code
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-05-14 07:04:05 -05:00
Yoelvis Jiménez
fdb49ba89a
Fix "ReferenceError: url is not defined" in challenge ( #35415 )
...
* Fix "ReferenceError: url is not defined" in challenge
I fix the challenge because issue #14002
- The `url` variable is set to external resource `https://jsonplaceholder.typicode.com/posts `
- I replaced .textContent instead of .innerHTML (better practice)
- Checking for HTTP status of 201 instead of 200
All these suggestions by @HarplingeTom and "approved" by @QuincyLarson. See the issue comments.
I test the code locally in my computer and this works 👍
I modified and verify the tests according the new assessment.
* Update curriculum/challenges/english/04-data-visualization/json-apis-and-ajax/post-data-with-the-javascript-xmlhttprequest-method.english.md
Minor typo: `<code>` to `</code>`
Co-Authored-By: yoelvisj <43357527+yoelvisj@users.noreply.github.com>
* Update curriculum/challenges/english/04-data-visualization/json-apis-and-ajax/post-data-with-the-javascript-xmlhttprequest-method.english.md
new declared as const
Co-Authored-By: yoelvisj <43357527+yoelvisj@users.noreply.github.com>
2019-05-08 20:07:36 -05:00
NITIN BISHT
b5468932f0
fix: seed code doesn't match description [english] ( #35380 )
2019-02-24 09:02:56 -06:00
lasjorg
0a7932ea1d
fix(challenge): update test to support arrow function ( #35268 )
...
* fix(challenge): update test to support arrow function
* fix(challenge): update solution
* fix(challenge): update solution fully
* fix: corrected unrelated issue
2019-02-24 08:54:37 -06:00
Randell Dawson
bc99876f9e
[Fix] allow line breaks between method calls for several Data Visualization challenges ( #35093 )
...
* fix: allow spaces between lines breaks a function arguments
* fix: allow line breaks between method calls
2019-02-22 12:18:10 -07:00
The Coding Aviator
536fe28162
Update get-json-with-the-javascript-xmlhttprequest-method.english.md ( #34408 )
2019-02-06 07:51:59 -06:00
Valeriy
79d9012432
fix(curriculum): quotes in tests ( #18828 )
...
* fix(curriculum): tests quotes
* fix(curriculum): fill seed-teardown
* fix(curriculum): fix tests and remove unneeded seed-teardown
2018-10-20 23:32:47 +05:30
Bouncey
ee9f6b2d72
chore(meta): Move challenge meta to challenges root
2018-10-11 02:15:05 +05:30
Bouncey
a859035023
fix(challenge-md): Fix quotes that failed in the transform
2018-10-08 11:38:26 +05:30
Bouncey
8f39bc1288
chore(curriculum): Remove files in wrong format
2018-10-05 15:58:12 +01:00