feat(learn): add python video challenges (#38424)
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
22afc2a0ca
commit
e776529ed0
@@ -0,0 +1,47 @@
|
||||
---
|
||||
id: 5e601c0d5ac9d0ecd8b94afe
|
||||
title: American British Translator
|
||||
challengeType: 4
|
||||
isRequired: true
|
||||
forumTopicId: 301571
|
||||
---
|
||||
|
||||
## Description
|
||||
<section id='description'>
|
||||
COMING SOON
|
||||
|
||||
</section>
|
||||
|
||||
## Instructions
|
||||
<section id='instructions'>
|
||||
|
||||
</section>
|
||||
|
||||
## Tests
|
||||
<section id='tests'>
|
||||
|
||||
```yml
|
||||
tests:
|
||||
- text: test
|
||||
testString: 'test'
|
||||
```
|
||||
|
||||
</section>
|
||||
|
||||
## Challenge Seed
|
||||
<section id='challengeSeed'>
|
||||
|
||||
</section>
|
||||
|
||||
## Solution
|
||||
<section id='solution'>
|
||||
|
||||
```js
|
||||
/**
|
||||
Backend challenges don't need solutions,
|
||||
because they would need to be tested against a full working project.
|
||||
Please check our contributing guidelines to learn more.
|
||||
*/
|
||||
```
|
||||
|
||||
</section>
|
@@ -0,0 +1,64 @@
|
||||
---
|
||||
id: 587d8249367417b2b2512c42
|
||||
title: Issue Tracker
|
||||
challengeType: 4
|
||||
isHidden: false
|
||||
isRequired: true
|
||||
forumTopicId: 301569
|
||||
---
|
||||
|
||||
## Description
|
||||
<section id='description'>
|
||||
Build a full stack JavaScript app that is functionally similar to this: <a href='https://protective-garage.glitch.me/' target='_blank'>https://protective-garage.glitch.me/</a>.
|
||||
Working on this project will involve you writing your code on Glitch on our starter project. After completing this project you can copy your public glitch url (to the homepage of your app) into this screen to test it! Optionally you may choose to write your project on another platform but it must be publicly visible for our testing.
|
||||
Start this project on Glitch using <a href='https://glitch.com/edit/#!/remix/clone-from-repo?REPO_URL=https://github.com/freeCodeCamp/boilerplate-project-issuetracker/'>this link</a> or clone <a href='https://github.com/freeCodeCamp/boilerplate-project-issuetracker/'>this repository</a> on GitHub! If you use Glitch, remember to save the link to your project somewhere safe!
|
||||
</section>
|
||||
|
||||
## Instructions
|
||||
<section id='instructions'>
|
||||
|
||||
</section>
|
||||
|
||||
## Tests
|
||||
<section id='tests'>
|
||||
|
||||
```yml
|
||||
tests:
|
||||
- text: Prevent cross site scripting (XSS) attacks.
|
||||
testString: ''
|
||||
- text: I can POST /api/issues/{projectname} with form data containing required issue_title, issue_text, created_by, and optional assigned_to and status_text.
|
||||
testString: ''
|
||||
- text: The object saved (and returned) will include all of those fields (blank for optional no input) and also include created_on(date/time), updated_on(date/time), open(boolean, true for open, false for closed), and _id.
|
||||
testString: ''
|
||||
- text: I can PUT /api/issues/{projectname} with a id and any fields in the object with a value to object said object. Returned will be 'successfully updated' or 'could not update '+id. This should always update updated_on. If no fields are sent return 'no updated field sent'.
|
||||
testString: ''
|
||||
- text: 'I can DELETE /api/issues/{projectname} with a id to completely delete an issue. If no _id is sent return ''id error'', success: ''deleted ''+id, failed: ''could not delete ''+id.'
|
||||
testString: ''
|
||||
- text: I can GET /api/issues/{projectname} for an array of all issues on that specific project with all the information for each issue as was returned when posted.
|
||||
testString: ''
|
||||
- text: I can filter my get request by also passing along any field and value in the query(ie. /api/issues/{project}?open=false). I can pass along as many fields/values as I want.
|
||||
testString: ''
|
||||
- text: All 11 functional tests are complete and passing.
|
||||
testString: ''
|
||||
|
||||
```
|
||||
|
||||
</section>
|
||||
|
||||
## Challenge Seed
|
||||
<section id='challengeSeed'>
|
||||
|
||||
</section>
|
||||
|
||||
## Solution
|
||||
<section id='solution'>
|
||||
|
||||
```js
|
||||
/**
|
||||
Backend challenges don't need solutions,
|
||||
because they would need to be tested against a full working project.
|
||||
Please check our contributing guidelines to learn more.
|
||||
*/
|
||||
```
|
||||
|
||||
</section>
|
@@ -0,0 +1,74 @@
|
||||
---
|
||||
id: 587d8249367417b2b2512c41
|
||||
title: Metric-Imperial Converter
|
||||
challengeType: 4
|
||||
isHidden: false
|
||||
isRequired: true
|
||||
forumTopicId: 301570
|
||||
---
|
||||
|
||||
## Description
|
||||
<section id='description'>
|
||||
Build a full stack JavaScript app that is functionally similar to this: <a href='https://incongruous-beard.glitch.me/' target='_blank'>https://incongruous-beard.glitch.me/</a>.
|
||||
Working on this project will involve you writing your code on Glitch on our starter project. After completing this project you can copy your public glitch url (to the homepage of your app) into this screen to test it! Optionally you may choose to write your project on another platform but it must be publicly visible for our testing.
|
||||
Start this project on Glitch using <a href='https://glitch.com/edit/#!/remix/clone-from-repo?REPO_URL=https://github.com/freeCodeCamp/boilerplate-project-metricimpconverter/'>this link</a> or clone <a href='https://github.com/freeCodeCamp/boilerplate-project-metricimpconverter/'>this repository</a> on GitHub! If you use Glitch, remember to save the link to your project somewhere safe!
|
||||
</section>
|
||||
|
||||
## Instructions
|
||||
<section id='instructions'>
|
||||
|
||||
</section>
|
||||
|
||||
## Tests
|
||||
<section id='tests'>
|
||||
|
||||
```yml
|
||||
tests:
|
||||
- text: I will prevent the client from trying to guess(sniff) the MIME type.
|
||||
testString: ''
|
||||
- text: I will prevent cross-site scripting (XSS) attacks.
|
||||
testString: ''
|
||||
- text: 'I can GET /api/convert with a single parameter containing an accepted number and unit and have it converted. (Hint: Split the input by looking for the index of the first character which will mark the start of the unit)'
|
||||
testString: ''
|
||||
- text: I can convert 'gal' to 'L' and vice versa. (1 gal to 3.78541 L)
|
||||
testString: ''
|
||||
- text: I can convert 'lbs' to 'kg' and vice versa. (1 lbs to 0.453592 kg)
|
||||
testString: ''
|
||||
- text: I can convert 'mi' to 'km' and vice versa. (1 mi to 1.60934 km)
|
||||
testString: ''
|
||||
- text: If my unit of measurement is invalid, returned will be 'invalid unit'.
|
||||
testString: ''
|
||||
- text: If my number is invalid, returned with will 'invalid number'.
|
||||
testString: ''
|
||||
- text: If both are invalid, return will be 'invalid number and unit'.
|
||||
testString: ''
|
||||
- text: I can use fractions, decimals or both in my parameter(ie. 5, 1/2, 2.5/6), but if nothing is provided it will default to 1.
|
||||
testString: ''
|
||||
- text: My return will consist of the initNum, initUnit, returnNum, returnUnit, and string spelling out units in format '{initNum} {initial_Units} converts to {returnNum} {return_Units}' with the result rounded to 5 decimals in the string.
|
||||
testString: ''
|
||||
- text: All 16 unit tests are complete and passing.
|
||||
testString: ''
|
||||
- text: All 5 functional tests are complete and passing.
|
||||
testString: ''
|
||||
|
||||
```
|
||||
|
||||
</section>
|
||||
|
||||
## Challenge Seed
|
||||
<section id='challengeSeed'>
|
||||
|
||||
</section>
|
||||
|
||||
## Solution
|
||||
<section id='solution'>
|
||||
|
||||
```js
|
||||
/**
|
||||
Backend challenges don't need solutions,
|
||||
because they would need to be tested against a full working project.
|
||||
Please check our contributing guidelines to learn more.
|
||||
*/
|
||||
```
|
||||
|
||||
</section>
|
@@ -0,0 +1,68 @@
|
||||
---
|
||||
id: 587d824a367417b2b2512c43
|
||||
title: Personal Library
|
||||
challengeType: 4
|
||||
isHidden: false
|
||||
isRequired: true
|
||||
forumTopicId: 301571
|
||||
---
|
||||
|
||||
## Description
|
||||
<section id='description'>
|
||||
Build a full stack JavaScript app that is functionally similar to this: <a href='https://spark-cathedral.glitch.me/' target='_blank'>https://spark-cathedral.glitch.me/</a>.
|
||||
Working on this project will involve you writing your code on Glitch on our starter project. After completing this project you can copy your public glitch url (to the homepage of your app) into this screen to test it! Optionally you may choose to write your project on another platform but must be publicly visible for our testing.
|
||||
Start this project on Glitch using <a href='https://glitch.com/edit/#!/remix/clone-from-repo?REPO_URL=https://github.com/freeCodeCamp/boilerplate-project-library/'>this link</a> or clone <a href='https://github.com/freeCodeCamp/boilerplate-project-library/'>this repository</a> on GitHub! If you use Glitch, remember to save the link to your project somewhere safe!
|
||||
</section>
|
||||
|
||||
## Instructions
|
||||
<section id='instructions'>
|
||||
|
||||
</section>
|
||||
|
||||
## Tests
|
||||
<section id='tests'>
|
||||
|
||||
```yml
|
||||
tests:
|
||||
- text: Nothing from my website will be cached in my client.
|
||||
testString: ''
|
||||
- text: The headers will say that the site is powered by 'PHP 4.2.0' even though it isn't (as a security measure).
|
||||
testString: ''
|
||||
- text: I can post a title to /api/books to add a book and returned will be the object with the title and a unique _id.
|
||||
testString: ''
|
||||
- text: I can get /api/books to retrieve an array of all books containing title, _id, and commentcount.
|
||||
testString: ''
|
||||
- text: I can get /api/books/{id} to retrieve a single object of a book containing _title, _id, & an array of comments (empty array if no comments present).
|
||||
testString: ''
|
||||
- text: I can post a comment to /api/books/{id} to add a comment to a book and returned will be the books object similar to get /api/books/{id} including the new comment.
|
||||
testString: ''
|
||||
- text: I can delete /api/books/{_id} to delete a book from the collection. Returned will be 'delete successful' if successful.
|
||||
testString: ''
|
||||
- text: If I try to request a book that doesn't exist I will be returned 'no book exists'.
|
||||
testString: ''
|
||||
- text: I can send a delete request to /api/books to delete all books in the database. Returned will be 'complete delete successful' if successful.
|
||||
testString: ''
|
||||
- text: All 6 functional tests required are complete and passing.
|
||||
testString: ''
|
||||
|
||||
```
|
||||
|
||||
</section>
|
||||
|
||||
## Challenge Seed
|
||||
<section id='challengeSeed'>
|
||||
|
||||
</section>
|
||||
|
||||
## Solution
|
||||
<section id='solution'>
|
||||
|
||||
```js
|
||||
/**
|
||||
Backend challenges don't need solutions,
|
||||
because they would need to be tested against a full working project.
|
||||
Please check our contributing guidelines to learn more.
|
||||
*/
|
||||
```
|
||||
|
||||
</section>
|
@@ -0,0 +1,47 @@
|
||||
---
|
||||
id: 5e601bf95ac9d0ecd8b94afd
|
||||
title: Sudoku Solver
|
||||
challengeType: 4
|
||||
isRequired: true
|
||||
forumTopicId: 301571
|
||||
---
|
||||
|
||||
## Description
|
||||
<section id='description'>
|
||||
COMING SOON
|
||||
</section>
|
||||
|
||||
## Instructions
|
||||
<section id='instructions'>
|
||||
|
||||
</section>
|
||||
|
||||
## Tests
|
||||
<section id='tests'>
|
||||
|
||||
```yml
|
||||
tests:
|
||||
- text: test
|
||||
testString: 'test'
|
||||
|
||||
```
|
||||
|
||||
</section>
|
||||
|
||||
## Challenge Seed
|
||||
<section id='challengeSeed'>
|
||||
|
||||
</section>
|
||||
|
||||
## Solution
|
||||
<section id='solution'>
|
||||
|
||||
```js
|
||||
/**
|
||||
Backend challenges don't need solutions,
|
||||
because they would need to be tested against a full working project.
|
||||
Please check our contributing guidelines to learn more.
|
||||
*/
|
||||
```
|
||||
|
||||
</section>
|
Reference in New Issue
Block a user