A tool to develop and improve a student’s programming skills by introducing the earliest lessons of coding.
npm install -g teach-code
How to use
Users are required to solve 30 tasks that take them through the basic constructs of the programming language of their choice. The tasks are designed in such a way that the complexity increases as users progress through the tasks. Users can't move forward until the current task is completed. Previously submitted tasks can be viewed as desired by the user but can't be worked on again.
teachcodeexpects you to have a GitHub account. Make sure that you create one if that's not the case.
- Navigate to the directory of your choice and type in
- Follow the instructions as prompted.
- Now type in
- Type in
- Hurray 🎉 you've got your first task.
- Now you can find a
task1.py(language of choice) file within the
- Open up your favourite editor and code up the solution.
- Now type in
- Enter your Git credentials when prompted.
- Fetch the next task with
|teachcode init||Initializes all the tasks|
|teachcode fetchtask [key]||Fetches the task correponding to the key if provided (defaults to the very next task)|
|teachcode submit||Submits the current task|
|teachcode showkeys||Lists all the keys associated with the submitted tasks|
Contributions of any kind are welcomed. Make sure that you go through these guidelines.
How should I write a commit message?
The full pattern is:
type: subject #scope is optionalbody? #body is optionalfooter? #footer is optional
Following that pattern, your commit messages should look like these:
feat: activate open collective
chore: correct typoIt should be "guest" and not "gest"
refactor: drop support
How should I name my branches?
Prefix your branch names with
hotfix/ for feature proposals, documentation and bug fixes, respectively.
GNU General Public License V3.0.