freeCodeCamp/guide/english/certifications
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
..
apis-and-microservices fix(guide) Replace invalid prism code block names (#35961) 2019-05-15 19:08:19 +02:00
coding-interview-prep typo: Remove errors within a challenge solution (#36097) 2019-05-20 12:48:28 -07:00
data-visualization Added solution to D3 predefined scale challenge (#34242) 2019-05-16 09:04:54 -07:00
front-end-libraries Update add-inline-style-in-react (#35739) 2019-05-18 23:02:46 -05:00
information-security-and-quality-assurance Expand Certifications/Information Security and Quality Assurance article stub (#27397) 2019-04-17 16:59:21 +05:30
javascript-algorithms-and-data-structures Modify if statement (#36088) 2019-05-20 21:08:20 -04:00
responsive-web-design fix: replace imgur with s3 for english guide without conflict (#36053) 2019-05-20 23:54:51 +05:30
index.md Update index.md (#33820) 2019-01-20 10:00:27 -07:00