External Assignment Lesson

An external assignment lesson is also a lesson that contains a practical coding exercise, but instead of do it in learn, you will have to submit a pull request. For example, let's see how to solve the First Exercise from our Flask Tutorial Step by Step:

Step 1 - Fork the Repo

Click on the Fork Repo button:

image

You'll be redirected to the Github page of the assignment. Hit the "Fork" button on Github:

image

This will create a "copy" of that repository in your own Github Profile (please note my name santiagobasulto, it's my own personal copy):

image

Make the changes that you think are necessary to complete the assignment:

image

Commit your changes:

image

Then click on the "New Pull Request" button:

image

And Create your Pull Request (PR):

image

You'll see how we run the tests on the background:

image

And finally, if they pass or not (they failed in this case). You can check what went wrong with the "Details" link:

image

Meantime... in Learn

Learn will keep the state of your current assignment. For example, in this case it knows I've submitted my PR but the tests are failing:

image

Green

Once you solve your assignment and send/update the PR with the correct code, you'll see the tests passing on Github:

image

and the status on learn updated:

image

You can move now to the next lesson!