* fix: added info and solutions for stubs
* fix: made title match main header
* fix: removed wrong closing tag
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added closing tag
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: corrected solution
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: changed verbiage
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added code tags
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: added solution
* 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
new solution addresses the possibility of first letter of arg "before" being lower case and needing to change the first letter of "after" from capital to lowercase
solution more streamlined
added resource to help with regular expressions
* Replace stub with hints and code solution
* Change spoiler tag text
Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
* Update `createAndSavePerson` to use callback
Previous solution had an empty callback
* fix: added hint header
* Replace stub with hints and solution
For "create many records" mongoDB lesson
* Fix markdown for inline code
Add new line to allow markdown to render inline code
* Use callback in `createAndSavePerson` function
* fix: corrected hints syntax
* Replace stub for mongoDB lesson
* Replace stub for "Use model.find to search your database"
* Include hints
* Include solution
* Use callback in `createAndSavePerson()`
* fix: corrected hints syntax
* 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>
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).
* 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
* Updated guide articles for all Quality Assurance and Testing with Chai challenges to include hints and solutions
* fix: 2 space indentation and code formatting
* 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
* 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
* 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