Commit Graph

3724 Commits (9bd2052b36d44eed5b05cc42c3cc416038c947df)

Author SHA1 Message Date
Rajat Kanti Nandi 49a13702ae Updated basic-javascript.json file for challenge Manipulate arrays with shift; issue: #17235 2018-05-25 19:28:17 +00:00
Stuart Taylor 0bb4fbfcea Fix/react versions (#17236)
<!-- freeCodeCamp Pull Request Template -->

<!-- IMPORTANT Please review https://github.com/freeCodeCamp/freeCodeCamp/blob/staging/CONTRIBUTING.md for detailed contributing guidelines -->
<!-- Help with PRs can be found at https://gitter.im/FreeCodeCamp/Contributors -->
<!-- Make sure that your PR is not a duplicate -->

#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply. -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [x] Your pull request targets the `staging` branch of freeCodeCamp.
- [x] Branch starts with either `fix/`, `feature/`, or `translate/` (e.g. `fix/signin-issue`)
- [ ] You have only one commit (if not, [squash](http://forum.freecodecamp.org/t/how-to-squash-multiple-commits-into-one-with-git/13231) them into one commit).
- [x] All new and existing tests pass the command `npm test`. Use `git commit --amend` to amend any fixes.

#### Type of Change
<!-- What type of change does your code introduce? After creating the PR, tick the checkboxes that apply. -->
- [x] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
- [ ] Add new translation (feature adding new translations)

#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply. -->
<!-- If you're unsure about any of these, don't hesitate to ask in the Contributors room linked above. We're here to help! -->
- [x] Tested changes locally.
- [x] Addressed currently open issue (replace XXXXX with an issue no in next line)

Closes #17215

#### Description
<!-- Describe your changes in detail -->
2018-05-25 17:27:15 +05:30
Stuart Taylor 487f7c8153 fix(seed): challenge types (#17229)
Closes #17221
2018-05-24 21:27:09 +05:30
Bennett Elder 3397fbbf60 fix(challenges): Fix wrong word on Basic CSS lesson (#17219)
Updated 'valuables' to say 'variables' since that's what the description was about.
2018-05-23 12:59:34 +05:30
Kristofer Koishigawa df1a97249d style(challenges): Format Descriptions for Project Euler 1-16 (#17172)
Here are a list of style changes made for problems 1-16:

* 2: Centered text
* 6: Centered text and `<sup>` tags
* 8: Centered text
* 9: Centered text, `<var>`, and `<sup>` tags
* 11: Centered text and spacing between number grid and next paragraph
* 12: Tab spacing (padding-left: 4em)
* 14: Centered text, `<var>` tags, and tab spacing (padding-left: 4em)
* 16: `<sup>` tags

BREAKING CHANGE: None
2018-05-23 12:58:03 +05:30
Kristofer Koishigawa e4a8a0ab96 style(challenges): Format Descriptions for Project Euler 17-26 (#17175)
Here's a list of style changes made for problems 17-26:

*17: Bold tags
*18: Bold tags
*19: ul and li tags for leap year information
*20: var tags and line break
*21: var tags
*22: added code tag
*23: var tags
*24: centered text and var tag
*25: sup tags, tab-like spacing, and CSS grid for spacing
*26: sub, sup, and var tags, and CSS grid for spacing

BREAKING CHANGE: None
2018-05-23 12:56:51 +05:30
Stuart Taylor 8535669ea4 Package: Validate challenges on test (#17216)
This PR allows us to validate the schema during test.

It also removes some cruft from the seed files and ensures only the required data is packaged and consumable, reducing the package weight somewhat.
2018-05-22 18:13:14 +05:30
Stuart Taylor 1ccaf255a6 chore(package): Version Bump (#17206) 2018-05-22 12:24:40 +05:30
Mrugesh Mohapatra c53716f94c build(np): Add publishing via np to seed 2018-05-21 20:02:54 +05:30
Stuart Taylor c428b2c197 feat(package): Initial Curriculum separation (#17174)
* feat(package): Initial Curriculum separation

* feat(package): Add org scope to package

* chore(ooops): Remove development file

* feat(npm): Add .npmignore

* fix(paths): Fix curriculum paths

* feat(build): Add a build step

* chore(seed): Move package file back to seed

* fix(ignore): Fix .npmIgnore file

* chore(docs): Update README

* chore(seed): Rename coding interview blocks

* fix(seed): Challenge files now fit into learn

* chore(seed): Update seed files for use in learn

* chore(escapes): Unescape script tags of jQuery
2018-05-21 19:26:49 +05:30
Jarek Wojciechowski 49ac8aa202 style(seed): Remove typo from chai-http-IV challenge title (#17148) (#17149) 2018-05-15 12:36:36 -04:00
Stuart Taylor f916204ba5 Chore: Update User model (#17171)
* fix(logs): Remove console.log's

* chore(challengeMap): challengeMap -> completedChallenges

* chore(userModel): Update user model

* feat(userIDs): Add user ident fields

* chore(github): Remove more refs to github data
2018-05-15 19:26:26 +05:30
Aditya Rohilla 47bb4ca5e3 fix(seed): removed typo from task description (#17166) 2018-05-15 10:16:33 +05:30
Kristofer Koishigawa ffde63c39b fix(challenges): Add Tests and Solution for Project Euler 50 (#17152)
Added an additional test and a solution adapted from the one
@elliotjz contributed to the fCC Arcade Mode.

BREAKING CHANGE: None
2018-05-14 15:12:04 +01:00
Stuart Taylor 5eb90ed8c8 feat(challenge-redirect): Make '/challenge' and '/map' redirect to learn (#17144)
* feat(challenge-redirect): Make '/challenge' and '/map' redirect to learn

* fix(linting): Generate pathMigrationMap on 'prelint-js'

* fix(script): fix "only once" script

* fix(lock): Fix lock file
2018-05-14 13:04:51 +05:30
Kristofer Koishigawa 058ec5d247 fix(challenges): Edit Description, Add Tests and Solution for Project Euler 47 (#17142)
Edited the description to more closely match the spacing and line breaks
from projecteuler.net. Added more tests, updated the challenge seed,
and added a solution from user @elliotjz contributed to the fCC
Arcade Mode.

BREAKING CHANGE: None
2018-05-11 22:15:55 -04:00
Kristofer Koishigawa e078d72d04 fix(challenges): Edit challengeSeed and Add Solution for Project Euler 49 (#17146)
Changed the name of the function in the challengeSeed from euler49 to the
challenge name. Also added a solution that @elliotjz contributed to the
fCC Arcade Mode.

BREAKING CHANGE: None
2018-05-11 17:23:28 -04:00
Kristofer Koishigawa aac8f58ec9 fix(challenges): Edit Description, Tests, and Add Solution for Project Euler 48 (#17145)
Added `<sup>` tags to the description to make it more like the one on
projecteuler.net. Also added additional tests and a solution.

Here's a solution for QA:

```
```

BREAKING CHANGE: None
2018-05-11 17:00:46 -04:00
Oliver 47e8d93ec4 fix(seed): Change tag nesting order (#17093)
Changed em tag to wrap around p tag

Closes #17077
2018-05-08 20:09:14 -04:00
Kristofer Koishigawa ca1e466492 fix(challenges): Edit Description and Add Solution for Project Euler 46 (#17140)
Updated the problem description with `<sup>` tags. Also added a solution
that user @elliotjz contributed to the fCC Arcade Mode.

BREAKING CHANGE: None
2018-05-08 15:53:01 -04:00
Kristofer Koishigawa 54dbf89fd7 fix(challenges): Edit Description and Add Solution for Project Euler 45 (#17126)
Updated the problem description with an inline CSS grid, <sup>, and
<var> tags. Also added a solution that user @elliotjz contributed
to the fCC Arcade Mode.

BREAKING CHANGE: None
2018-05-08 15:43:20 -04:00
Kristofer Koishigawa 1325cc0513 fix(challenges): Edit Description and Add Solution for Project Euler 44 (#17127)
Updated the problem description with <sup> and <var> tags, and centered
some text. Also, added a solution that user @elliotjz contributed to the
fCC Arcade Mode.

BREAKING CHANGE: None
2018-05-06 21:48:17 +05:30
Marcin Procyk f031b82a70 fix(seed): Bootstrap default button fix (#17082)
added btn-default class to lessons with basic Bootstrap buttons, which
add proper styles for default button

Closes #17075
2018-05-03 10:07:00 -04:00
Jake Magers c9deffb4d8 fix(seed): Fix tests for apisMicroservicesCert (#17105)
Users are now capable of claiming the "Apis and Microservices"
certificate.
2018-05-03 18:34:44 +05:30
Jake Magers 36cd13417d fix: Claiming respWebDesignCert tests (#17102)
Changed the "Build a Personal Portfolio" id in the
responsive-web-design-certificate tests to the correct id.

Users are now capable of claiming the "Responsive Web Design Certificate".
2018-05-03 18:33:09 +05:30
Irina Brennen 3e778fe452 fix(seed): Fixed test to fail if console.clear is still commented out (#17097)
Closes #16958
2018-05-03 18:31:42 +05:30
Courtney 5012af8cf3 fix: index number in QA challenge test (#17096)
* fix: index number in QA challenge test

* fix: removed json files from git
2018-05-03 02:01:44 +05:30
Logan Wright fe6442994f fix: typo in responsive web design projects (#17100) 2018-05-03 02:01:05 +05:30
Kristofer Koishigawa 3629d35495 fix(challenges): Edit Description, Add Tests and Solution for Project Euler 40 (#17087)
Updated the problem description to more closely match the one on the Project Euler page. Also added more tests along with a solution that user @elliotjz contributed to the fCC Arcade Mode.

BREAKING CHANGE: None
2018-04-28 14:31:51 +05:30
Kristofer Koishigawa a2eaa120bb fix(challenges): Edit Description and Add Solution for Project Euler 38 (#17086)
Updated the problem description with `<val>` tags and improved the
formatting. Also added a solution that user @elliotjz contributed to
the fCC Arcade Mode.

BREAKING CHANGE: None
2018-04-28 14:31:23 +05:30
Kristofer Koishigawa fd2a004d2e fix(challenges): Edit Description and Add Solution for Project Euler 33 (#17085)
Updated the problem description with <sup> and <sub> tags. Also added a
solution that user @elliotjz contributed to the fCC Arcade Mode.

BREAKING CHANGE: None
2018-04-28 14:30:38 +05:30
Kristofer Koishigawa 67b1c32184 fix(challenges): Port Solution for Project Euler 32 from Arcade Mode (#17084)
Ported the solution for Project Euler 32 user @elliotjz contributed to
the fCC Arcade Mode.

BREAKING CHANGE: None
2018-04-28 14:30:11 +05:30
Emanuele Antonelli 06b4c95472 mongoose challenges: check for db connection (#16987) 2018-04-28 13:52:47 +05:30
Kristofer Koishigawa fa1cc4a436 fix(challenges): Edit Description, Add Tests and Solution for Project Euler 41 (#17088)
Updated the problem description with <i> tags. Removed a couple of tests
because they seemed too restrictive for the different approaches users
might take when solving this problem. Also added a solution
that user @elliotjz contributed to the fCC Arcade Mode.

BREAKING CHANGE: None
2018-04-28 13:49:06 +05:30
matt lubel 58e8054f67 fix(challenges): Change spanish description (#17089)
changed instructions to require English text in order to be consistent
with tests

Closes #17073
2018-04-27 23:48:08 +05:30
Nicholas Nadeau, P.Eng., AVS e5d52afad8 chore: fixed typos via client9/misspell (#17081) 2018-04-25 10:37:27 +05:30
Ahmad Abdolsaheb b5864279fa fix(seed): Fixes tests (#17051)
tests assert changed

Closes #17019
2018-04-17 15:53:55 -04:00
Shivam Chawla f18c791f3e fixed Typo in Basic CSS #17057 (#17061)
Fixed Typo in Basic CSS: Cascading CSS variables description #17057
2018-04-17 15:09:18 -04:00
Chaitanya ebcfb83486 Fix to tests messages (#17059)
In https://beta.freecodecamp.org/en/challenges/react/write-a-simple-counter challenge code is referring to Component Counter but messages are referring to myComponent
2018-04-17 15:02:57 -04:00
Kirushna Kumar 77bde7247f fix(challenge): map.add() test case in create map DS challenge (#16995) 2018-04-17 14:27:51 -04:00
Varun 00e6d92480 fix: SASS challenge and code indentation (#17036) 2018-04-17 14:08:35 -04:00
Quincy Larson f1e552c32d fix broken JSON 2018-04-16 23:02:11 -05:00
guiKailu baa3012d67 This update clarifies in take-home-interview-projects.json the different possible weather outcomes right in the weather challenge instructions. QuincyLarson approved User Story update, despite its length. 2018-04-16 08:53:44 -07:00
Kristofer Koishigawa d6f217c1b9 fix(seed): Simplify Unique Titles Test (#17056)
Originally the test would check for the index of a title in an array of
unique challenge titles. However, the index of the title within the
array isn't important for this test, so I simplified the code using
@Bouncey's suggestion in PR #17035.

Also changed grammar for the error that's thrown when a challenge
title isn't a valid string.

BREAKING CHANGE: None
2018-04-13 15:15:40 +01:00
Hakeem Davis bcd31aa499 fix(seed): Clarify instructions (#17050)
Closes #17044
2018-04-13 09:49:01 +05:30
Kristofer Koishigawa be693638de test(seed): Add Test for Unique Challenge Titles (#17035)
Due to the recent problem with two challenges having the same title, I
added a check for unique titles to the test suite so that hopefully
won't happen again.

Addresses a comment in issue #16906, which was recently closed.

BREAKING CHANGE: None

Closes #16906
2018-04-10 21:23:36 +01:00
Edit Bazso 1dc5501b8f fix(seed): Fixed broken link in React Introducing Inline Styl (#17040)
* fix(seed): Fixed broken link in React Introducing Inline Styl

* fix(seed): Fixed broken link in React Introducing Inline Style
2018-04-07 22:06:11 -04:00
Varun e747dbf9c4 fix: typo in challenges/react.json (#17037) 2018-04-07 21:43:22 -04:00
Ákos 754bdccb6b fix(seed): Sass Challenge:Use @each to Map Over Items in a Li (#17032)
Closes #16896
Closes #16894
2018-04-07 11:45:50 -04:00
Bryan Williams f1d219f1bc Clarified instructions for Pairwise algorithm (#17013)
* Clarified instructions for Pairwise algorithm

Added an example to further clarify the directions in the "Pairwise" algorithm, per issue #16800 https://github.com/freeCodeCamp/freeCodeCamp/issues/16800

* Change "for example" to "for instance"
2018-04-06 22:12:14 -04:00